# Example 1a: Compute proportion of missing data for each case in the data frame
na.prop(airquality)
# Example 1b: Alternative specification using the 'data' argument,
# append proportions to the data frame 'airquality'
na.prop(., data = airquality)
Run the code above in your browser using DataLab