ici {mice}R Documentation

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

Author(s)

Stef van Buuren, 2010.

See Also

cci cc, ic, ccn, icn

Examples

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

[Package mice version 2.22 Index]