mice (version 3.16.0)

ncc: Number of complete cases

Description

Calculates the number of complete cases.

Usage

ncc(x)

Value

Number of elements in x with complete data.

Arguments

x

An R object. Currently supported are methods for the following classes: mids, data.frame and matrix. Also, x can be a vector.

Author

Stef van Buuren, 2017

See Also

nic, cci

Examples

Run this code
ncc(nhanes) # 13 complete cases

Run the code above in your browser using DataLab