View source: R/mi.mixed.ancova.analysis.r
mi.mixed.ancova.analysis.mitml | R Documentation |
Calcular ancovas de manera general para modelos mixtos, en una base pre-establecida
mi.mixed.ancova.analysis.mitml(
mi,
v,
mixed_model,
subset = 1:nrow(complete(mi)),
trans = "I",
covariates = NULL,
quad = F,
extra = NULL,
test_method = "D2",
change.base = F
)
mi |
mice multiple imputation database |
v |
Vector of variables to perform ancova. First es pre-test, second is post-test and third is experimental |
subset |
Subset of data to calculate within. Same as subset on lm |
trans |
Transformation of @v, to use inside regression methods |
covariates |
Other covariates |
quad |
Use quadratic regression on pre-value |
extra |
test extra variables, one on one. |
test_method |
Method to use on mitml::testModels param method |
change_base |
In case of moderation, change base name for ancova |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.