extract
method for lm
objectsextract
method for lm
objects created by the
lm
function in the stats package.
# S4 method for lm
extract(
model,
include.rsquared = TRUE,
include.adjrs = TRUE,
include.nobs = TRUE,
include.fstatistic = FALSE,
include.rmse = FALSE,
...
)
A statistical model object.
Report R^2 in the GOF block?
Report adjusted R^2 in the GOF block?
Report the number of observations in the GOF block?
Report the F-statistic in the GOF block?
Report the root mean square error (RMSE; = residual standard deviation) in the GOF block?
Custom parameters, which are handed over to subroutines, in this
case to the summary
method for the object.