| 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
xcellnumeric, number of cells along x
ycellnumeric, number of cells along y
xminnumeric, lower limit along x
xmaxnumeric, upper limit along x
yminnumeric, lower limit along y
ymaxnumeric, upper limit along y
bycharacter, 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.