Session Ready
Exercise

Combine two variables

In this exercise, you'll use case_when() with the bakers data to create a new variable based on the number of times each baker was crowned as star baker or the technical challenge winner:

  • If star baker is greater than technical wins, recode as super_star
  • If star baker is less than technical wins, recode as high_tech
  • Recode the rest as well_rounded
Instructions 1/2
undefined XP
  • 1
  • 2

Create a new variable with three levels as described above.