It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Errors
Summary

Instruction

We can also count missing values in one column, like this:

sum(is.na(census2017$age))

Or we can check the proportion of missing values to all values in a column with the mean() function:

mean(is.na(census2017$age))

Exercise

Find the proportion of missing values in the salary column of the census2018 data frame. Use the mean() and is.na() functions.