simulate.kppm {spatstat}R Documentation

Simulate a fitted cluster point process model.

Description

Generates simulated realisations from a fitted cluster point process model.

Usage

  ## S3 method for class 'kppm':
  simulate(object, nsim = 1, ...)

Arguments

object Fitted cluster point process model. An object of class "kppm".
nsim Number of simulated realisations.
... Ignored.

Details

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.

Value

A list of length nsim containing simulated point patterns (objects of class "ppp").

Author(s)

Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz

See Also

kppm, plot.ppm, plot.minconfit

Examples

  data(redwood)
  fit <- kppm(redwood, ~1, "Thomas")
  simulate(fit, 2)

[Package spatstat version 1.16-0 Index]