Package: lest 1.1.0
lest: Vectorised Nested if-else Statements Similar to CASE WHEN in 'SQL'
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.
Authors:
lest_1.1.0.tar.gz
lest_1.1.0.zip(r-4.7)lest_1.1.0.zip(r-4.6)lest_1.1.0.zip(r-4.5)
lest_1.1.0.tgz(r-4.6-x86_64)lest_1.1.0.tgz(r-4.6-arm64)lest_1.1.0.tgz(r-4.5-x86_64)lest_1.1.0.tgz(r-4.5-arm64)
lest_1.1.0.tar.gz(r-4.7-arm64)lest_1.1.0.tar.gz(r-4.7-x86_64)lest_1.1.0.tar.gz(r-4.6-arm64)lest_1.1.0.tar.gz(r-4.6-x86_64)
lest_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lest/json (API)
| # Install 'lest' in R: |
| install.packages('lest', repos = c('https://s-fleck.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/s-fleck/lest/issues
Last updated from:2a0bb22ea7. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 129 | ||
| linux-devel-x86_64 | OK | 110 | ||
| source / vignettes | OK | 131 | ||
| linux-release-arm64 | OK | 123 | ||
| linux-release-x86_64 | OK | 107 | ||
| macos-release-arm64 | OK | 93 | ||
| macos-release-x86_64 | OK | 245 | ||
| macos-oldrel-arm64 | OK | 94 | ||
| macos-oldrel-x86_64 | OK | 129 | ||
| windows-devel | OK | 66 | ||
| windows-release | OK | 76 | ||
| windows-oldrel | OK | 59 | ||
| wasm-release | OK | 83 |
Exports:case_whencumallcumanyexceeds_tumbling_sumif_else
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| A general vectorised if | case_when |
| Cumulative all and any | cumall cumany |
| Check When the Tumbling Sum of a Vector Exceeds a Threshold | exceeds_tumbling_sum |
| Vectorised if | if_else |
