Other packages > Find by keyword >

lest  

Vectorised Nested if-else Statements Similar to CASE WHEN in 'SQL'
View on CRAN: Click here


Download and install lest package within the R console
Install from CRAN:
install.packages("lest")

Install from Github:
library("remotes")
install_github("cran/lest")

Install by package version:
library("remotes")
install_version("lest", "1.1.0")



Attach the package and use:
library("lest")
Maintained by
Stefan Fleck
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-08-16
Latest Update: 2019-11-29
Description:
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.
How to cite:
Stefan Fleck (2018). lest: Vectorised Nested if-else Statements Similar to CASE WHEN in 'SQL'. R package version 1.1.0, https://cran.r-project.org/web/packages/lest. Accessed 05 Jun. 2026.
Previous versions and publish date:
1.0.0 (2018-08-16 11:20)
Other packages that cited lest R package
View lest citation profile
Other R packages that lest depends, imports, suggests or enhances
Complete documentation for lest
Functions, R codes and Examples using the lest R package
Some associated functions: case_when . cumall . exceeds_tumbling_sum . if_else . lest-package . 
Some associated R codes: case_when.R . cumall.R . exceeds_tumbling_sum.R . if_else.R . lest-package.R . utils-sfmisc.R . utils.R .  Full lest package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA