impute_internal {rbmi} | R Documentation |
Create imputed datasets
Description
This is the work horse function that implements most of the functionality of impute.
See the user level function impute()
for further details.
Usage
impute_internal(
draws,
references = NULL,
update_strategy,
strategies,
condmean
)
Arguments
draws |
A |
references |
A named vector. Identifies the references to be used for reference-based
imputation methods. Should be of the form |
update_strategy |
An optional |
strategies |
A named list of functions. Defines the imputation functions to be used.
The names of the list should mirror the values specified in |
condmean |
logical. If TRUE will impute using the conditional mean values, if values will impute by taking a random draw from the multivariate normal distribution. |