Create new variables
Grouping and statistical functions
Joining datasets
Summary
15. Exercise 4

Instruction

So who failed the exams?

Exercise

Assign students who failed the exam (got a "fail" value in the pass_fail column) to the variable failed_exams.

Stuck? Here's a hint!

Type:

failed_exams <- students %>%
  filter(pass_fail == "fail")