robin_glm | R Documentation |
Covariate adjusted glm model
robin_glm(
formula,
data,
treatment,
contrast = "difference",
contrast_jac = NULL,
vcov = "vcovG",
family = gaussian(),
vcov_args = list(),
pair,
...
)
formula |
( |
data |
( |
treatment |
( |
contrast |
( |
contrast_jac |
( |
vcov |
( |
family |
( |
vcov_args |
( |
pair |
Pairwise treatment comparison. |
... |
Additional arguments passed to |
If family is MASS::negative.binomial(NA)
, the function will use MASS::glm.nb
instead of glm
.
A treatment_effect object.
robin_glm(
y ~ treatment * s1,
data = dummy_data,
treatment = treatment ~ s1, contrast = "difference"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.