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