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)


naniar documentation built on May 29, 2024, 1:43 a.m.