View source: R/summary_lm_list.R
summary.lm_list | R Documentation |
lm_list
-Class
ObjectThe summary of content
of the output of lm2list()
.
## S3 method for class 'lm_list'
summary(object, ...)
## S3 method for class 'summary_lm_list'
print(x, digits = 3, ...)
object |
The output of
|
... |
Other arguments. Not used. |
x |
An object of class
|
digits |
The number of significant digits in printing numerical results. |
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.
print(summary_lm_list)
: Print
method for output of summary for
lm_list.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.