Get multiple imputation mean statistics for several variables
1 2 | get_mi_means_table(.data, stat_variables_vec, weight_var = NULL,
ids = ".id", imps = ".imp", use_random = FALSE)
|
.data |
dataframe that could be converted to the mids object to perform calculations on the multiple imputations data frame. |
stat_variables_vec |
is the atomic vector with variables names |
weight_var |
variable for weighting. NULL by default. |
ids |
names of the columns wit the observation-specific ID and number of imputation. |
imps |
names of the columns wit the observation-specific ID and number of imputation. |
use_random |
harmonise imputation of the unequal size randomly. By default if FALSE, therefore, to equalise sizes of the imputed samples, simplu n-first observations is used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.