mice (version 3.11.0)

ncc: Number of complete cases

Description

Calculates the number of complete cases.

Usage

ncc(x)

Arguments

x

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

Value

Number of elements in x with complete data.

See Also

nic, cci

Examples

Run this code
# NOT RUN {
 ncc(nhanes) # 13 complete cases 

# }

Run the code above in your browser using DataCamp Workspace