Learn R Programming

spatstat (version 1.31-3)

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': nobs(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, ...)

## S3 method for class 'lppm': as.linnet(X, ...)

Arguments

object,fit,x,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, nobs, 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)
  nobs(fit)
  extractAIC(fit)
  update(fit, ~1)

Run the code above in your browser using DataLab