Description Usage Arguments Value Author(s) See Also Examples
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
.
1 | cc(x)
|
x |
An |
A vector
, matrix
or data.frame
containing the data of the complete cases.
Stef van Buuren, 2017.
1 2 | # cc(nhanes) # get the 13 complete cases
# cc(nhanes$bmi) # extract complete bmi
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.