Learn R Programming

spatstat (version 1.23-1)

methods.lppm: Methods for Fitted Point Process Models on a Linear Network

Description

These are methods for the class "lppm" of fitted point process models on a linear network.

Usage

## S3 method for class 'lppm':
coef(object, ...)
  ## S3 method for class 'lppm':
extractAIC(fit, ...)
  ## S3 method for class 'lppm':
formula(x, ...)
  ## S3 method for class 'lppm':
logLik(object, ...)
  ## S3 method for class 'lppm':
plot(x, ..., type="trend")
  ## S3 method for class 'lppm':
print(x, ...)
  ## S3 method for class 'lppm':
terms(x, ...)
  ## S3 method for class 'lppm':
update(object, ...)

Arguments

object,fit,x
An object of class "lppm" representing a fitted point process model on a linear network.
...
Arguments passed to other methods, usually the method for the class "ppm".
type
Character string (either "trend" or "cif") determining whether to plot the fitted first order trend or the conditional intensity.

Value

  • See the default methods.

Details

These are methods for the generic commands coef, extractAIC, formula, logLik, plot, print, terms and update for the class "lppm".

See Also

lppm

Examples

Run this code
example(lpp)
  fit <- lppm(X, ~x)
  print(fit)
  plot(fit)
  coef(fit)
  formula(fit)
  terms(fit)
  logLik(fit)
  extractAIC(fit)
  update(fit, ~1)

Run the code above in your browser using DataLab