Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.1.0 rolling linux/jammy R-4.5 lest_1.1.0.tar.gz 56.1 KiB
1.1.0 rolling linux/noble R-4.5 lest_1.1.0.tar.gz 56.0 KiB
1.1.0 rolling source/ R- lest_1.1.0.tar.gz 15.3 KiB
1.1.0 latest linux/jammy R-4.5 lest_1.1.0.tar.gz 56.1 KiB
1.1.0 latest linux/noble R-4.5 lest_1.1.0.tar.gz 56.0 KiB
1.1.0 latest source/ R- lest_1.1.0.tar.gz 15.3 KiB
1.1.0 2026-04-26 source/ R- lest_1.1.0.tar.gz 15.3 KiB
1.1.0 2026-04-23 source/ R- lest_1.1.0.tar.gz 15.3 KiB
1.1.0 2026-04-09 windows/windows R-4.5 lest_1.1.0.zip 62.3 KiB
1.1.0 2025-04-20 source/ R- lest_1.1.0.tar.gz 15.3 KiB

Dependencies (latest)

Suggests