n_miss {naniar}R 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)


[Package naniar version 1.1.0 Index]