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 30 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/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/28Downloads for incase0246810121416182022242628TrendBars

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  
schrute  
The Entire Transcript from the Office in Tidy Format
The complete scripts from the American version of the Office television show in tibble format. Use ...
Download / Learn more Package Citations See dependency  
eyetrackingR  
Eye-Tracking Data Analysis
Addresses tasks along the pipeline from raw data to analysis and visualization for eye-tracking dat ...
Download / Learn more Package Citations See dependency  
crimeutils  
A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data
A collection of functions that make it easier to understand crime (or other) data, and assist other ...
Download / Learn more Package Citations See dependency  
micEconAids  
Demand Analysis with the Almost Ideal Demand System (AIDS)
Functions and tools for analysing consumer demand with the Almost Ideal Demand System (AIDS) sugg ...
Download / Learn more Package Citations See dependency  
GRAPE  
Gene-Ranking Analysis of Pathway Expression
Gene-Ranking Analysis of Pathway Expression (GRAPE) is a tool for summarizing the consensus behavio ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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