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
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
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

factorplot  
Graphical Presentation of Simple Contrasts
Methods to calculate, print, summarize and plot pairwise differences from GLMs, GLHT or Multinomial ...
Download / Learn more Package Citations See dependency  
cdcfluview  
Retrieve Flu Season Data from the United States Centers for Disease Control and Prevention ("CDC") "FluView" Portal
The 'U.S.' Centers for Disease Control and Prevention (CDC) maintain a portal ...
Download / Learn more Package Citations See dependency  
QuantileNPCI  
Nonparametric Confidence Intervals for Quantiles
Based on Alan D. Hutson (1999) , "Calculating nonparametric confidence i ...
Download / Learn more Package Citations See dependency  
Maintainer: Li Yan (view profile)
FMCCSD  
Efficient Estimation of Clustered Current Status Data
Current status data abounds in the field of epidemiology and public health, where the only observab ...
Download / Learn more Package Citations See dependency  
srm  
Structural Equation Modeling for the Social Relations Model
Provides functionality for structural equation modeling for the social relations model (Kenny & ...
Download / Learn more Package Citations See dependency  
bizicount  
Bivariate Zero-Inflated Count Models Using Copulas
Maximum likelihood estimation of copula-based zero-inflated (and non-inflated) Poisson and negative ...
Download / Learn more Package Citations See dependency  

22,114

R Packages

188,080

Dependencies

55,244

Author Associations

22,115

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns