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.
Version: | 1.1.0 |
Suggests: | testthat |
Published: | 2019-11-29 |
Author: | Stefan Fleck [aut, cre], Hadley Wickham [aut], Romain François [aut], Lionel Henry [aut], Kirill Müller [aut] |
Maintainer: | Stefan Fleck <stefan.b.fleck at gmail.com> |
License: | MIT + file LICENSE |
NeedsCompilation: | yes |
Materials: | README NEWS |
CRAN checks: | lest results |
Reference manual: | lest.pdf |
Package source: | lest_1.1.0.tar.gz |
Windows binaries: | r-devel: lest_1.1.0.zip, r-release: lest_1.1.0.zip, r-oldrel: lest_1.1.0.zip |
macOS binaries: | r-release (arm64): lest_1.1.0.tgz, r-oldrel (arm64): lest_1.1.0.tgz, r-release (x86_64): lest_1.1.0.tgz, r-oldrel (x86_64): lest_1.1.0.tgz |
Old sources: | lest archive |
Reverse imports: | blorr |
Please use the canonical form https://CRAN.R-project.org/package=lest to link to this page.