Description Usage Arguments Value Author(s)
The imputation indicator function tests a dataframe vs a list of imputation indicators. The flags about the imputation are assumed already present on the dataframe. They may have different values while the output flag is binary.
1 |
data |
(mandatory): A dataframe containing the data to be processed. |
imputedvars |
(mandatory): A vector with the column numbers of the variables that are imputed. For variable groups use the function |
imputationflags |
(mandatory): A vector with the column numbers of the imputation flags corresponding to the imputed variables. To calculate the vector use the function |
gij |
(optional): A matrix "gij" containing imputation indicators for each variable and observation. |
imp.ind |
(optional): A vector with the values considered as imputation indicators. Defaults: 1, 2, 3 |
A matrix "gij" containing imputation indicators for each variable and observation.
Beat Hulliger, Juan Berdugo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.