Description Usage Arguments Details Value
This is called by rlandscape to generate points. Uses any combination of four methods
uniform - the x and y coordinates are evenly distributed across the landscape
lattice - the points are chosen from the lattice points of a grid overlaid on the landscape
cluster - cluster locations are chosen by the uniform method, then points are added to each cluster following a bivariate Gaussian distribution
SSI - points are chosen by the uniform method with an imposed inhibition distance so that new points cannot be placed close to existing points
1 | makePoints(n = c(100, 0, 0, 0), hAsp = 1, control = list())
|
n |
a vector of length up to 4 specifying how many points to create by each method: uniform, lattice, cluster, and inhibition (SSI), respectively. |
hAsp |
a single positive numeric, the horizontal to vertical aspect ratio of the window to create the points in. |
control |
a list of parameters. The elements include any or all of the following:
|
Additional control parameters can be passed to the lattice, cluster and SSI point
processes via the control
parameter.
Returns coordinates of the points produced in a list of two vectors,
x
and y
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.