Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Final quiz

Instruction

It looks like we have some candidates for factors. Let's create them!

Exercise

Create factors using the marital_status and age_group columns. Use the unique values of each column as the levels for their corresponding factors.

Stuck? Here's a hint!

Type:

personal_info$age_group <- parse_factor(
  personal_info$age_group, levels = NULL)
personal_info$marital_status <- parse_factor(
  personal_info$marital_status, levels = NULL)