robin_lm {RobinCar2} | R Documentation |
Covariate adjusted lm model
Description
Covariate adjusted lm model
Usage
robin_lm(
formula,
data,
treatment,
vcov = "vcovG",
vcov_args = list(),
pair,
...
)
Arguments
formula |
( |
data |
( |
treatment |
( |
vcov |
( |
vcov_args |
( |
pair |
Pairwise treatment comparison. |
... |
Additional arguments passed to |
Value
A treatment_effect object.
Examples
robin_lm(
y ~ treatment * s1,
data = dummy_data,
treatment = treatment ~ s1
)
[Package RobinCar2 version 0.1.1 Index]