summary.lm_list: Summary of an 'lm_list'-Class Object

View source: R/summary_lm_list.R

summary.lm_listR Documentation

Summary of an lm_list-Class Object

Description

The summary of content of the output of lm2list().

Usage

## S3 method for class 'lm_list'
summary(object, ...)

## S3 method for class 'summary_lm_list'
print(x, digits = 3, ...)

Arguments

object

The output of lm2list().

...

Other arguments. Not used.

x

An object of class summary_lm_list.

digits

The number of significant digits in printing numerical results.

Value

summary.lm_list() returns a summary_lm_list-class object, which is a list of the summary() outputs of the lm() outputs stored.

print.summary_lm_list() returns x invisibly. Called for its side effect.

Functions

  • print(summary_lm_list): Print method for output of summary for lm_list.

Examples


data(data_serial_parallel)
lm_m11 <- lm(m11 ~ x + c1 + c2, data_serial_parallel)
lm_m12 <- lm(m12 ~ m11 + x + c1 + c2, data_serial_parallel)
lm_m2 <- lm(m2 ~ x + c1 + c2, data_serial_parallel)
lm_y <- lm(y ~ m11 + m12 + m2 + x + c1 + c2, data_serial_parallel)
# Join them to form a lm_list-class object
lm_serial_parallel <- lm2list(lm_m11, lm_m12, lm_m2, lm_y)
lm_serial_parallel
summary(lm_serial_parallel)


manymome documentation built on Oct. 4, 2024, 5:10 p.m.