powered by
This is shorthand for mean(is.na(x)) * 100
mean(is.na(x)) * 100
pct_miss(x)
numeric the percent of missing values in x
vector or data.frame
pct_miss(airquality) pct_miss(airquality$Ozone)
Run the code above in your browser using DataLab