The summary of content of the output of lm2list().
## S3 method for class 'lm_list'summary(object, betaselect =FALSE, ci =FALSE, level =0.95,...)## S3 method for class 'summary_lm_list'print(x, digits =3, digits_decimal =NULL,...)
Arguments
object: The output of lm2list().
betaselect: If TRUE, standardized coefficients are computed and included in the printout. Only numeric variables will be computed, and any derived terms, such as product terms, will be formed after standardization. Default is FALSE.
ci: If TRUE, confidence interval based on t statistic and standard error will be computed and added to the output. Default is FALSE.
level: The level of confidence of the confidence interval. Ignored if ci is not TRUE.
...: Other arguments. Not used.
x: An object of class summary_lm_list.
digits: The number of significant digits in printing numerical results.
digits_decimal: The number of digits after the decimal in printing numerical results. Default is NULL. If set to an integer, numerical results in the coefficient table will be printed according this setting, and digits will be ignored.
Returns
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 objectlm_serial_parallel <- lm2list(lm_m11, lm_m12, lm_m2, lm_y)lm_serial_parallel
summary(lm_serial_parallel)