extract method for Sarlm objects created by the
lagsarlm function in the spatialreg
package.
Usage
# S4 method for class 'Sarlm'
extract(
model,
include.nobs = TRUE,
include.loglik = TRUE,
include.aic = TRUE,
include.lr = TRUE,
include.wald = TRUE,
...
)Arguments
- model
A statistical model object.
- include.nobs
Report the number of observations in the GOF block?
- include.loglik
Report the log likelihood in the GOF block?
- include.aic
Report Akaike's Information Criterion (AIC) in the GOF block?
- include.lr
Report likelihood ratio test?
- include.wald
Report the Wald statistic?
- ...
Custom parameters, which are handed over to subroutines, in this case to the
summarymethod for the object.