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 07 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:52), 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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
PairedData  
Paired Data Analysis
Many datasets and a set of graphics (based on ggplot2), statistics, effect sizes and hypothesis test ...
Download / Learn more Package Citations See dependency  
skewlmm  
Scale Mixture of Skew-Normal Linear Mixed Models
It fits scale mixture of skew-normal linear mixed models using an expectation–maximization (EM) ty ...
Download / Learn more Package Citations See dependency  
blandr  
Bland-Altman Method Comparison
Carries out Bland Altman analyses (also known as a Tukey mean-difference plot) as described by JM B ...
Download / Learn more Package Citations See dependency  
ggTimeSeries  
Time Series Visualisations Using the Grammar of Graphics
Provides additional display mediums for time series visualisations. ...
Download / Learn more Package Citations See dependency  
splm  
Econometric Models for Spatial Panel Data
ML and GM estimation and diagnostic testing of econometric models for spatial panel data. ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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