as.ppm

0th

Percentile

Extract Fitted Point Process Model

Extracts the fitted point process model from some kind of fitted model.

Keywords
models, spatial
Usage
as.ppm(object)

## S3 method for class 'ppm': as.ppm(object)

## S3 method for class 'profilepl': as.ppm(object)

## S3 method for class 'kppm': as.ppm(object)

Arguments
object
An object that includes a fitted Poisson or Gibbs point process model. An object of class "ppm", "profilepl" or "kppm" or possibly other classes.
Details

The function as.ppm extracts the fitted point process model (of class "ppm") from a suitable object. The function as.ppm is generic, with methods for the classes "ppm", "profilepl" and "kppm", and possibly for other classes.

For the class "profilepl" of models fitted by maximum profile pseudolikelihood, the method as.ppm.profilepl extracts the fitted point process model (with the optimal values of the irregular parameters).

For the class "kppm" of models fitted by minimum contrast using Waagepetersen's two-step estimation procedure (see kppm), the method as.ppm.kppm extracts the Poisson point process model that is fitted in the first stage of the procedure.

Value

  • An object of class "ppm".

See Also

ppm, profilepl.

Aliases
  • as.ppm
  • as.ppm.ppm
  • as.ppm.profilepl
  • as.ppm.kppm
Examples
# fit a model by profile maximum pseudolikelihood
   rvals <- data.frame(r=(1:10)/100)
   pfit <- profilepl(rvals, Strauss, cells, ~1)
   # extract the fitted model
   fit <- as.ppm(pfit)
Documentation reproduced from package spatstat, version 1.36-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.