makeGrid2d | R Documentation |
Given the extremes of the range and the number of cells along x and y, it generates a two-dimensional grid. Cells are counted from the minimum of x and y (bottom-left). You can choose whether to increase x or y faster.
A two-dimensional grid
xcell
numeric, number of cells along x
ycell
numeric, number of cells along y
xmin
numeric, lower limit along x
xmax
numeric, upper limit along x
ymin
numeric, lower limit along y
ymax
numeric, upper limit along y
by
character, count cells increasing x ("h") or y ("v") faster
grid2d <- makeGrid2d(
xmin = -50, xmax = 50, xcell = 100,
ymin = -50, ymax = 50, ycell = 100,
by = "v"
)
grid2d
makeGrid2d()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.