Learn R Programming

spatstat.model (version 3.3-1)

is.poissonclusterprocess: Recognise Poisson Cluster Process Models

Description

Given a point process model (either a model that has been fitted to data, or a model specified by its parameters), determine whether the model is a Poisson cluster process.

Usage

is.poissonclusterprocess(model)
# S3 method for kppm
is.poissonclusterprocess(model)
# S3 method for zclustermodel
is.poissonclusterprocess(model)
# S3 method for default
is.poissonclusterprocess(model)

Value

A logical value.

Arguments

model

Any kind of object representing a spatial point process model, either a model fitted to data, or a specification of a point process model.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.

Details

The argument model represents a fitted spatial point process model (such as an object of class "ppm", "kppm" or similar) or a specification of a point process model (such as an object of class "zclustermodel").

This function returns TRUE if the model is a Poisson cluster process, and FALSE otherwise.

The function is.poissonclusterprocess is generic, with methods for classes kppm and zclustermodel, and a default method.

See Also

kppm, zclustermodel.

Examples

Run this code
  fut <- kppm(redwood ~ 1, "Thomas")
  is.poissonclusterprocess(fut)
  fot <- slrm(cells ~ x, dimyx=16)
  is.poissonclusterprocess(fot)

Run the code above in your browser using DataLab