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("remotes")
remotes::install_github("aryoda/R_enumerations")
aryoda/R_enumerations documentation built on Dec. 9, 2019, 8:51 a.m.