lm_list | R Documentation |
lm
objectsCombine lm
objects into a list
lm_list(...)
... |
Objects of class |
Returns an object of class lm_list
.
dat <- psm4_exdata$costs$medical
lm_fits <- lm_list(fit1 = stats::lm(costs ~ 1, data = dat),
fit2 = stats::lm(costs ~ female, data = dat))
class(lm_fits)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.