View source: R/Fit_mult_impute_observed_outcome.R
remove_missing_from_mids | R Documentation |
Deprecated, use apply_function_to_imputed_data
instead.
remove_missing_from_mids(mids, var)
mids |
mids objects that is filtered. |
var |
a string or vector of strings specifying the variable(s). All cases (i.e. rows) for which there are missing values are removed. |
Remove_missing_from_mids is used to filter a mids object for missing cases in the original dataset in the variable var. This is useful for situations where you want to use as many observations as possible for imputation but only fit your model on a subset of these. Or, if you want to create one large imputed datset from which multiple analyses with multiple outcomes are derived.
a mids object filtered for observed cases of var.
Till D. Best
apply_function_to_imputed_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.