lm_list {hesim} | R Documentation |
List of lm
objects
Description
Combine lm
objects into a list
Usage
lm_list(...)
Arguments
... |
Objects of class |
Value
Returns an object of class lm_list
.
Examples
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)
[Package hesim version 0.5.5 Index]