simulate.kppm {spatstat} | R Documentation |
Generates simulated realisations from a fitted cluster point process model.
## S3 method for class 'kppm': simulate(object, nsim = 1, ...)
object |
Fitted cluster point process model. An object of class "kppm" .
|
nsim |
Number of simulated realisations. |
... |
Ignored. |
This function is a method for the generic function
simulate
for the class "kppm"
of fitted
cluster point process models.
Simulations are performed by rThomas
or rMatClust
depending on the cluster mechanism.
A list of length nsim
containing simulated point patterns
(objects of class "ppp"
).
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
kppm
,
plot.ppm
,
plot.minconfit
data(redwood) fit <- kppm(redwood, ~1, "Thomas") simulate(fit, 2)