Psim | R Documentation |
Simulate Binomial spatial point process.
Psim(n)
n |
number of points |
relies on the region being set by ppinit
or ppregion
.
list of vectors of x
and y
coordinates.
uses the random number generator.
Ripley, B. D. (1981) Spatial Statistics. Wiley.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
SSI
, Strauss
towns <- ppinit("towns.dat")
par(pty="s")
plot(Kfn(towns, 10), type="s", xlab="distance", ylab="L(t)")
for(i in 1:10) lines(Kfn(Psim(69), 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.