Description Usage Arguments Value
View source: R/hmi_imp_cat_single_2018-04-17.R View source: R/hmi_imp_cat_single_2018-02-23.R View source: R/hmi_imp_cat_single_2018-02-05.R View source: R/hmi_imp_cat_single_2018-01-12.R View source: R/hmi_imp_cat_single_2017-04-13.R View source: R/hmi_imp_cat_single_2016-12-23.R View source: R/hmi_imp_cat_single.R
The function uses regression trees for imputation implemented in mice
.
The principle is the following:
For each observation it is calculated at wich leave it would end.
Then one (randomly selected) observation of the other observations found on this leave,
functions as a donor.
1 | imp_cat_single(y_imp_multi, X_imp_multi)
|
y_imp_multi |
A Vector with the variable to impute. |
X_imp_multi |
A data.frame with the fixed effects variables. |
A n x 1 data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.