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