Learn R Programming

spatstat.model (version 3.3-1)

methods.slrm: Methods for Spatial Logistic Regression Models

Description

These are methods for the class "slrm".

Usage

# S3 method for slrm
formula(x, ...)
# S3 method for slrm
print(x, ...)
# S3 method for slrm
summary(object, ...)
# S3 method for slrm
terms(x, ...)
# S3 method for slrm
labels(object, ...)
# S3 method for slrm
deviance(object, ...)
# S3 method for slrm
update(object, fmla, ..., evaluate = TRUE, env = parent.frame())

Value

See the help files for the corresponding generic functions.

Arguments

x,object

An object of class "slrm", representing a fitted spatial logistic regression model.

...

Arguments passed to other methods.

fmla

Optional. A formula, to replace the formula of the model.

evaluate

Logical value. If TRUE, evaluate the updated call to slrm, so that the model is refitted; if FALSE, simply return the updated call.

env

Optional environment in which the model should be updated.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

Details

These functions are methods for the generic commands formula, update, print, summary, terms, labels and deviance for the class "slrm".

An object of class "slrm" represents a fitted spatial logistic regression model. It is obtained from slrm.

See Also

slrm, plot.slrm, predict.slrm, simulate.slrm, vcov.slrm, coef.slrm.

Examples

Run this code
  fit <- slrm(redwood ~ x)
  coef(fit)
  formula(fit)
  tf <- terms(fit)  
  labels(fit)
  deviance(fit) 

Run the code above in your browser using DataLab