Functions for vectorised conditional recoding of variables. case_when() enables you to vectorise multiple if and else statements (like 'CASE WHEN' in 'SQL'). if_else() is a stricter and more predictable version of ifelse() in 'base' that preserves attributes. These functions are forked from 'dplyr' with all package dependencies removed and behave identically to the originals.
Maintainer: Stefan Fleck stefan.b.fleck@gmail.com (ORCID)
Authors:
Hadley Wickham hadley@rstudio.com (ORCID)
Romain Fran<c3><a7>ois (ORCID)
Lionel Henry
Kirill M<c3><bc>ller (ORCID)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.