residuals.sarlm: Access functions for spatial simultaneous autoregressive...

Description Usage Arguments Value Note Author(s) See Also

View source: R/sarlm.R

Description

Access functions for residuals, deviance, coefficients and fitted values from spatial simultaneous autoregressive linear model objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'sarlm'
residuals(object, ...)
## S3 method for class 'sarlm'
deviance(object, ...)
## S3 method for class 'sarlm'
coef(object, ...)
## S3 method for class 'sarlm'
vcov(object, ...)
## S3 method for class 'sarlm'
fitted(object, ...)

Arguments

object

sarlm object returned by lagsarlm or errorsarlm

...

further arguments passed through

Value

Revelant vectors of numerical values.

Note

fitted.sarlm() returns the difference between residuals() for the same object and the response variable; predict.sarlm() returns a decomposition into trend and signal for the fit.

Author(s)

Roger Bivand, Roger.Bivand@nhh.no

See Also

errorsarlm, lagsarlm, predict.sarlm


spdep documentation built on Aug. 19, 2017, 3:01 a.m.