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)


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