nic: Number of incomplete cases

View source: R/ncc.R

nicR Documentation

Number of incomplete cases

Description

Calculates the number of incomplete cases.

Usage

nic(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 incomplete data.

Author(s)

Stef van Buuren, 2017

See Also

ncc, cci

Examples

nic(nhanes) # the remaining 12 rows
nic(nhanes[, c("bmi", "hyp")]) # number of cases with incomplete bmi and hyp

mice documentation built on June 7, 2023, 5:38 p.m.

Related to nic in mice...