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