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.


Reference manual

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


0.1.1 by Gethin Davies, 9 months ago


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