rind: Response Indicator

Description Usage Arguments Value Author(s)

View source: R/rind.R

Description

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).

Usage

1
rind(data, miss.ind = "")

Arguments

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.

Value

A matrix "rij" containing response indicators for each variable and observation.

Author(s)

Beat Hulliger, Juan Berdugo


sdap documentation built on May 2, 2019, 6:52 p.m.

Related to rind in sdap...