Learn R Programming

texreg (version 1.39.4)

extract,summary.lm-method: extract method for summary.lm objects

Description

extract method for summary.lm objects created by the summary method for lm objects, defined in the stats package (see summary.lm).

Usage

# S4 method for summary.lm
extract(
  model,
  include.rsquared = TRUE,
  include.adjrs = TRUE,
  include.nobs = TRUE,
  include.fstatistic = FALSE,
  include.rmse = TRUE,
  ...
)

Arguments

model

A statistical model object.

include.rsquared

Report R^2 in the GOF block?

include.adjrs

Report adjusted R^2 in the GOF block?

include.nobs

Report the number of observations in the GOF block?

include.fstatistic

Report the F-statistic in the GOF block?

include.rmse

Report the root mean square error (RMSE; = residual standard deviation) in the GOF block?

...

Custom parameters, which are handed over to subroutines. Currently not in use.