R/n-prop-miss-complete.R
prop_miss.Rd
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
prop_miss(airquality) #> [1] 0.04793028 prop_miss(airquality$Ozone) #> [1] 0.2418301