Learn R Programming

texreg (version 1.39.4)

extract,Sarlm-method: extract method for Sarlm objects

Description

extract method for Sarlm objects created by the lagsarlm function in the spatialreg package.

Usage

# S4 method for 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 summary method for the object.