predict.kppm {spatstat}R Documentation

Prediction from a Fitted Cluster Point Process Model

Description

Given a fitted cluster point process model, this function computes the fitted intensity.

Usage

  ## S3 method for class 'kppm'
predict(object, ...)

Arguments

object

Fitted cluster point process model. An object of class "kppm".

...

Arguments passed to predict.ppm.

Details

This is a method for the generic function predict. The argument object should be a cluster point process model (object of class "kppm") obtained using the function kppm.

The intensity of the fitted model is computed, using predict.ppm.

Value

Usually a pixel image (object of class "im"), but see predict.ppm for details.

Author(s)

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

See Also

kppm, plot.kppm, vcov.kppm, predict.ppm

Examples

  data(redwood)
  fit <- kppm(redwood, ~x, "Thomas")
  predict(fit)

[Package spatstat version 1.25-3 Index]