Description Usage Arguments Value
View source: R/scene_gridmix.R
Create a scene with entities placed randomly
1 2 3 4 5 6 7 8 9 10 11 |
seed |
Seed number to attach |
n |
Number of entities |
xpos |
Numeric vector specifying possible horizontal locations |
ypos |
Numeric vector specifying possible vertical locations |
entity |
Character vector specifying possible entity types (e.g., "line", "circle") |
grain |
Numeric vector specifying possible grains |
size |
Numeric vector specifying possible sizes |
shape |
Numeric vector specifying possible shapes |
angle |
Numeric vector specifying possible angles |
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.