This array is useful for extracting the subset of incomplete cases.
The companion function cci()
selects the complete cases.
ici(x)
x | An |
---|
Logical vector indicating the incomplete cases,
Stef van Buuren, 2017.
ici(nhanes) # indicator for 12 rows with incomplete cases#> [1] TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE FALSE TRUE TRUE TRUE #> [13] FALSE FALSE TRUE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE TRUE #> [25] FALSE