R: Number of complete cases

ncc {mice} | R Documentation

## 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.

### Author(s)

Stef van Buuren, 2017

### See Also

`nic`, `cci`

### Examples

    ncc(nhanes) # 13 complete cases

[Package mice version 3.12.0 Index]