powered by
Compute a summary of each model in an lmfm object.
lmfm
# S3 method for lmfm summary(object, correlation = FALSE, ...)
an lmfm object.
a logical value. If TRUE, the correlation matrices for the coefficients are included in the summaries.
additional arguments required by the generic summary function.
summary
a list with class summary.lmfm whose elements are summaries of each model in object.
object
# NOT RUN { data(stackloss) m1 <- lm(stack.loss ~ ., data = stackloss) m2 <- lm(stack.loss ~ . - Acid.Conc., data = stackloss) fm <- fit.models(m1, m2) print(fm.sum <- summary(fm)) # }
Run the code above in your browser using DataLab