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