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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rtern")

0.1.1 by Gethin Davies, 14 days ago


https://github.com/grddavies/rtern


Report a bug at https://github.com/grddavies/rtern/issues


Browse source code at https://github.com/cran/rtern


Authors: Gethin Davies [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports utils, lifecycle

Suggests covr, testthat, spelling


See at CRAN