On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Factors and how to create them
Working with factors
10. Count NAs
Modifying factor variables
Summary

Instruction

Let's check if this works! Try the exercise...

Exercise

Using table(), calculate the number of people in each marital status group (mrt_status column in survey).

Observe that the table() function is explicit about the "(Missing)" level.

Stuck? Here's a hint!

Type:

table(survey$mrt_status)