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