dplyr::case_when()
ifelse()
Explain when ?dplyr::case_when() if more useful than ifelse. - Copy-pasted text from ?dplyr::case_when()