spatstat.linnet (version 3.1-5)

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 lppm
coef(object, ...)

# S3 method for lppm emend(object, ...)

# S3 method for lppm extractAIC(fit, ...)

# S3 method for lppm formula(x, ...)

# S3 method for lppm logLik(object, ...)

# S3 method for lppm deviance(object, ...)

# S3 method for lppm nobs(object, ...)

# S3 method for lppm print(x, ...)

# S3 method for lppm summary(object, ...)

# S3 method for lppm terms(x, ...)

# S3 method for lppm update(object, ...)

# S3 method for lppm valid(object, ...)

# S3 method for lppm vcov(object, ...)

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

# S3 method for lppm response(object)

Value

For as.linnet.lppm a linear network (object of class "linnet"). For emend.lppm another fitted model of the same class "lppm". For response.lppm a spatial point pattern on a linear network (object of class "lpp"). For valid.lppm a logical value.

For the other methods, see the help for the default methods.

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".

Author

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

Details

These are methods for the R generic commands coef, extractAIC, formula, logLik, deviance, nobs, print, summary, terms, update and vcov, and the spatstat generic commands as.linnet, emend, response and valid, for the class "lppm".

See Also

lppm, plot.lppm.

Examples

Run this code
  X <- runiflpp(15, simplenet)
  fit <- lppm(X ~ x)
  print(fit)
  coef(fit)
  formula(fit)
  terms(fit)
  logLik(fit)
  deviance(fit)
  nobs(fit)
  extractAIC(fit)
  update(fit, ~1)
  valid(fit)
  vcov(fit)
  response(fit)

Run the code above in your browser using DataLab