Learn R Programming

cutoffR (version 1.0)

nmissing: Count the number of missing values in a vector or data matrix

Description

Count the number of missing values in a vector or data matrix

Usage

nmissing(x)

Arguments

x
a vector, matrix or data frame

Value

the number of missing values (denoted by NA)

Examples

Run this code
data(hqmr.data)
nmissing(hqmr.data)

Run the code above in your browser using DataLab