n_miss: Return the number of missing values

View source: R/n-prop-miss-complete.R

n_missR Documentation

Return the number of missing values

Description

Substitute for sum(is.na(data))

Usage

n_miss(x)

Arguments

x

a vector

Value

numeric the number of missing values

Examples


n_miss(airquality)
n_miss(airquality$Ozone)


njtierney/naniar documentation built on March 19, 2024, 9:48 p.m.