prepare_data {MixedDataImpute} | R Documentation |
Prepares a dataset for imputation by mapping factor levels to integers and scaling
Y. Primarily used by hcmm_impute
internally
prepare_data(X, Y, init = TRUE)
X |
A data frame of categorical variables (as factors) |
Y |
A matrix or data frame of continuous variables |
init |
If |
An object of class hcmm_data