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 18 Feb. 2025.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

RobustBayesianCopas  
Robust Bayesian Copas Selection Model
Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) for cor ...
Download / Learn more Package Citations See dependency  
ppmf  
Read Census Privacy Protected Microdata Files
Implements data processing described in to align modern differentially ...
Download / Learn more Package Citations See dependency  
readxlsb  
Read 'Excel' Binary (.xlsb) Workbooks
Import data from 'Excel' binary (.xlsb) workbooks into R. ...
Download / Learn more Package Citations See dependency  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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