If ifelse() had more if’s (case_when(), part 2)

In which I learn how to make case_when() behave like a true if/else, including the else part. What happens when you only want to assign particular outcomes to a few cases, without touching the rest? Or if you want to bulk-assign all the unspecified cases to one outcome? The syntax is weird, but it works.
R
tidyverse
Author
Affiliation

Yale University

Published

November 22, 2019