View source: R/apply_function_to_imputed_data.R
apply_function_to_imputed_data | R Documentation |
Wrapper function to apply a function on each dataframe in an imputed dataset
created with mice::mice()
.
apply_function_to_imputed_data(mice_data, fun, ...)
mice_data |
a mids object generated by |
fun |
the function to apply to each dataframe. May only take one positional argument of type data.frame. |
... |
other arguments passed to fun() |
a mids object with transformed data.
J. Peter Marquardt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.