Description Usage Arguments Details Value
View source: R/scene_gridmix.R
Create a scene with entities on a grid
1 2 3 4 5 6 7 8 9 10 | scene_grid(
seed = use_seed(1),
xpos = 1:3,
ypos = 1:3,
entity = "circle",
grain = 50,
size = 1,
shape = 3,
angle = 0
)
|
seed |
Seed number to attach |
xpos |
Numeric vector specifying horizontal locations |
ypos |
Numeric vector specifying vertical locations |
entity |
The entity type (e.g., "line", "circle") |
grain |
The number of points per entity |
size |
The size of each entity |
shape |
The shape of each entity |
angle |
The angle of each entity |
The scene_grid()
function allows multiple entities to be
included in the initial object, laying out items in grid.
A tibble with four columns: x, y, id and type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.