grid2 {Recon} | R Documentation |
This function creates a grid (more especifically, a 2-cell) of coordinates in R^2. Useful for plotting and generating data points with which to apply some functions.
grid2(a = 0, b = 100, c = 0.5)
a |
is the grid's lower bound. Defaults to 0. |
b |
is the grid's upper bound. Defaults to 100. |
c |
is the "by" parameter, the grid's density. Defaults to .5. |
Data Frame with a grid
grid2(a = 0, b = 10, c = .1)