grddavies/rtern: A Ternary Conditional Operator for R

A small language extension for succinct conditional assignment using `?` and `:`, emulating the conditional ternary operator syntax using in C, Java, JavaScript and other languages.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.1.2
URL https://github.com/grddavies/rtern
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("grddavies/rtern")
grddavies/rtern documentation built on Jan. 28, 2022, 3:31 p.m.