Flash Sale | 50% off

Last chance! 50% off unlimited learning

Sale ends in


naniar (version 0.5.1)

pct_miss: Return the percent of missing values

Description

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

Usage

pct_miss(x)

Arguments

x

vector or data.frame

Value

numeric the percent of missing values in x

Examples

Run this code
# NOT RUN {
pct_miss(airquality)
pct_miss(airquality$Ozone)

# }

Run the code above in your browser using DataLab