prop_miss: Return the proportion of missing values

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

prop_missR Documentation

Return the proportion of missing values

Description

This is shorthand for mean(is.na(x))

Usage

prop_miss(x)

Arguments

x

vector or data.frame

Value

numeric the proportion of missing values in x

Examples


prop_miss(airquality)
prop_miss(airquality$Ozone)


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