Learn R Programming

mice (version 2.25)

ici: Incomplete case indicator

Description

This array is useful for extracting the subset of incomplete cases. Missing values in x are coded as NA. The companion function for selecting the complete cases is cci().

Usage

ici(x)

Arguments

x
An R object. Currently supported are methods for the following classes: mids, data.frame and matrix. In addition, x can be a vector of any kind.

Value

Logical vector indicating the incomplete cases, . If x is a data.frame or matrix the length is nrow(x). In other cases, the length is length(x).

See Also

cci cc, ic, ccn, icn

Examples

Run this code
ici(nhanes) # indicator for 12 rows with incomplete cases

Run the code above in your browser using DataLab