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]
All associated links for this package
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 21 Nov. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
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  
pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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