Learn R Programming

manymome (version 0.2.3)

print.lm_list: Print an lm_list-Class Object

Description

Print the content of the output of lm2list().

Usage

# S3 method for lm_list
print(x, ...)

Value

x is returned invisibly. Called for its side effect.

Arguments

x

The output of lm2list().

...

Other arguments. Not used.

Examples

Run this code

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

Run the code above in your browser using DataLab