Description Usage Arguments Details Value Examples
Simulate a geometrical figure on a 2D spatial field
1 2 |
n.obs |
the number of repetitions. |
xmax |
the length of the spatial field. |
ymax |
the width of the spatial field |
radius |
the maximum distance to the center for which pixels will set to 1. The others will be set to 0. |
center |
the position relative to which the distance will be computed. |
coords.centered |
should the coordinates be centered around 0,0? Else they will start at 0,0 and take positve values. May affect the computation of the distance. |
distance |
the type of distance to be used. |
The available distances are those of the dist
function from the stats package.
a list containing:
"coords" the coordinates of each point on the field
"center" the center used to compute the distance
"distCenter" the distance of each point to the center
"X" the distance thresholded by the radius
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.