This function is a low-level utility to generate spatial point patterns for the MICRO-LANDSCAPE point sets.

pointsPoisson(n, xLim = c(0, 1), yLim = c(0, 1))

Arguments

n

number of points to generate

xLim

a length 2 numeric vector of bounds for the sampling grid

yLim

a length 2 numeric vector of bounds for the sampling grid

Value

a list with two elements x and y corresponding to the sampled points

Examples

pointsPoisson(n=10, xLim=c(0,1), yLim=c(0,1))
#> $x #> [1] 0.77059045 0.03027856 0.10189845 0.30476603 0.43503710 0.43722835 #> [7] 0.27061783 0.88784587 0.89469397 0.51683790 #> #> $y #> [1] 0.59882985 0.65446634 0.04404299 0.90156200 0.19616124 0.80693895 #> [7] 0.44239427 0.73110363 0.37279984 0.06909600 #>