This function is a low-level utility to generate spatial point patterns for the MICRO-LANDSCAPE point sets.
pointsClustered(n, meanParents = 10, clusteredness = 0.25, xLim = c(0, 1), yLim = c(0, 1))
n | number of points to generate |
---|---|
meanParents | intensity of Poisson process for cluster centers |
clusteredness | control mean scatter of child points around cluster centers |
xLim | a length 2 numeric vector of bounds for the sampling grid |
yLim | a length 2 numeric vector of bounds for the sampling grid |
a list with two elements x and y corresponding to the sampled points
pointsClustered(n=10, meanParents = 10, clusteredness = .25, xLim=c(0,1), yLim=c(0,1))#> $x #> [1] 0.4771965 0.5336016 0.4327689 0.8407359 0.2374943 0.3296938 0.3661051 #> [8] 0.9377476 0.2500580 0.3965575 #> #> $y #> [1] 0.3758097 0.4228861 0.4026724 0.1464707 0.6870093 0.1108481 0.9404719 #> [8] 0.6796553 0.2512963 0.8229628 #>