aryoda/R_enumerations: Adds an enumeration data type for R to support list of allowed value/label pairs

Enumerations are lists of value/label pairs (lists of constants for values). Enums make code more readable. You can use an enumeration type as formal function parameter to allow only values of the enumeration passed in (other values throw an error).

Getting started

Package details

Maintainer
LicenseGPL-3 | file LICENSE
Version0.3.1
URL https://github.com/aryoda/R_enumerations
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("aryoda/R_enumerations")
aryoda/R_enumerations documentation built on Sept. 8, 2018, 8:30 p.m.