ic | R Documentation |
Extracts incomplete cases from a data set.
The companion function for selecting the complete cases is cc
.
ic(x)
x |
An |
A vector
, matrix
or data.frame
containing the data of the complete cases.
Stef van Buuren, 2017.
cc
, ici
ic(nhanes) # get the 12 rows with incomplete cases
ic(nhanes[1:10, ]) # incomplete cases within the first ten rows
ic(nhanes[, c("bmi", "hyp")]) # restrict extraction to variables bmi and hyp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.