Description Usage Arguments Value
Prepares a dataset for imputation by mapping factor levels to integers and scaling
Y. Primarily used by hcmm_impute
internally
1 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.