cc {mice} | R Documentation |
Select complete cases
Description
Extracts the complete cases, also known as listwise deletion.
cc(x)
is similar to
na.omit(x)
, but returns an object of the same class
as the input data. Dimensions are not dropped. For extracting
incomplete cases, use ici
.
Usage
cc(x)
Arguments
x |
An |
Value
A vector
, matrix
or data.frame
containing the data of the complete cases.
Author(s)
Stef van Buuren, 2017.
See Also
Examples
# cc(nhanes) # get the 13 complete cases
# cc(nhanes$bmi) # extract complete bmi
[Package mice version 3.16.0 Index]