Other packages > Find by keyword >

incase  

Pipe-Friendly Vector Replacement with Case Statements
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("incase", "0.3.2")



Attach the package and use:
library("incase")
Maintained by
Alexander Rossell Hayes
[Scholar Profile | Author Map]
First Published: 2020-09-15
Latest Update: 2023-08-21
Description:
Offers a pipe-friendly alternative to the 'dplyr' functions case_when() and if_else(), as well as a number of user-friendly simplifications for common use cases. These functions accept a vector as an optional first argument, allowing conditional statements to be built using the 'magrittr' dot operator. The functions also coerce all outputs to the same type, meaning you no longer have to worry about using specific typed variants of NA or explicitly declaring integer outputs, and evaluate outputs somewhat lazily, so you don't waste time on long operations that won't be used.
How to cite:
Alexander Rossell Hayes (2020). incase: Pipe-Friendly Vector Replacement with Case Statements. R package version 0.3.2, https://cran.r-project.org/web/packages/incase. Accessed 07 Apr. 2025.
Previous versions and publish date:
0.1.0 (2020-09-15 12:00), 0.2.0 (2020-12-17 06:20), 0.2.1 (2021-01-14 22:50), 0.3.0 (2021-04-03 21:00), 0.3.1 (2021-06-06 06:10)
Other packages that cited incase R package
View incase citation profile
Other R packages that incase depends, imports, suggests or enhances
Complete documentation for incase
Functions, R codes and Examples using the incase R package
Some associated functions: fn_case . grep_case . if_case . in_case . in_case_fct . in_case_list . incase-package . pipe . switch_case . 
Some associated R codes: fn_case.R . grep_case.R . if_case.R . in_case.R . in_case_fct.R . in_case_list.R . incase-package.R . onLoad.R . replace.R . staticimports.R . switch_case.R . utils-pipe.R . utils.R . validate_case_length.R .  Full incase package functions and examples
Downloads during the last 30 days
03/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/3003/3104/0104/0204/0304/0404/0504/06Downloads for incase02468101214161820TrendBars

Today's Hot Picks in Authors and Packages

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  
probout  
Unsupervised Multivariate Outlier Probabilities for Large Datasets
Estimates unsupervised outlier probabilities for multivariate numeric data with many observations fr ...
Download / Learn more Package Citations See dependency  
MetaAnalyser  
An Interactive Visualisation of Meta-Analysis as a Physical Weighing Machine
An interactive application to visualise meta-analysis data as a physical weighing machine. The inte ...
Download / Learn more Package Citations See dependency  
nutriNetwork  
Structure Learning with Copula Graphical Model
Statistical tool for learning the structure of direct associations among variables for continuous d ...
Download / Learn more Package Citations See dependency  
ASMap  
Linkage Map Construction using the MSTmap Algorithm
Functions for Accurate and Speedy linkage map construction, manipulation and diagnosis of Doubled Ha ...
Download / Learn more Package Citations See dependency  
letsR  
Data Handling and Analysis in Macroecology
Handling, processing, and analyzing geographic data on species' distributions and environmental var ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,867

Author Associations

24,013

Publication Badges

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