Description Usage Arguments Value Author(s)
The response indicator function tests a dataframe vs a list of missingness indicators. The output is a matrix "rij" the same size of the dataframe containing values 1 or 0 indicating whether there is a response (1) or not (0).
1 |
data |
(mandatory) A dataframe containing the data to be processed. |
miss.ind |
(optional): A vector with the missing indicators to be considered. When the argument is missing, the function considers an empty string and NA as missingness indicators. Special codes like -99 can be defined here. |
A matrix "rij" containing response 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.