Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

matrix-gridVector

Grid Vector Coordinates


Description

Creates from two vectors rectangular grid coordinates..

Usage

gridVector(x, y = NULL)

Arguments

x, y

two numeric vectors of length m and n which span the rectangular grid of size m times n. If y takes the default value, NULL, then y=x.

Value

returns a list with two entries named $X and $Y, giving the coordinates which span the bivariate grid.

See Also

Examples

## gridVector -
   gridVector((0:10)/10) 
   gridVector((0:10)/10, (0:10)/10)

fBasics

Rmetrics - Markets and Basic Statistics

v3042.89.1
GPL (>= 2)
Authors
Diethelm Wuertz [aut], Tobias Setz [cre], Yohan Chalabi [ctb] Martin Maechler [ctb]
Initial release
2017-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.