| extract_imputed_dfs {rbmi} | R Documentation |
Extract imputed datasets
Description
Extracts the imputed datasets contained within an imputations object generated
by impute().
Usage
extract_imputed_dfs(
imputations,
index = seq_along(imputations$imputations),
delta = NULL,
idmap = FALSE
)
Arguments
imputations |
An |
index |
The indexes of the imputed datasets to return. By default,
all datasets within the |
delta |
A |
idmap |
Logical. The subject IDs in the imputed |
Value
A list of data.frames equal in length to the index argument.
See Also
delta_template() for creating delta data.frames.
Examples
## Not run:
extract_imputed_dfs(imputeObj)
extract_imputed_dfs(imputeObj, c(1:3))
## End(Not run)