Learn R Programming

spatstat (version 1.23-1)

methods.kppm: Methods for Cluster Point Process Models

Description

These are methods for the class "kppm".

Usage

## S3 method for class 'kppm':
coef(object, \dots)
## S3 method for class 'kppm':
formula(x, \dots)
## S3 method for class 'kppm':
print(x, ...)
## S3 method for class 'kppm':
terms(x, \dots)

Arguments

x,object
An object of class "kppm", representing a fitted cluster point process model.
...
Arguments passed to other methods.

Value

  • See the help files for the corresponding generic functions.

Details

These functions are methods for the generic commands coef, formula, print and terms for the class "kppm".

An object of class "kppm" represents a fitted cluster point process model. It is obtained from kppm. The method coef.kppm returns the vector of regression coefficients of the fitted model. It does not return the clustering parameters.

See Also

kppm, plot.kppm, predict.kppm, simulate.kppm, update.kppm, vcov.kppm.

Examples

Run this code
data(redwood)
  fit <- kppm(redwood, ~x, "MatClust")
  coef(fit)
  formula(fit)
  terms(fit)

Run the code above in your browser using DataLab