View source: R/aclassesEnums.R
EnumDef | R Documentation |
This function and associated class allow us to define an enumerated constant type in R that specifies the names and integer values for the symbolic constants.
EnumDef(name, values, symbolicNames = names(values))
name |
name of the enumeration group |
values |
the values of the individual elements of the enumeration group. This is typically a named integer vector where the names are the symbolic names to be used. |
symbolicNames |
the symbolic names for the values. This parallels
the |
Duncan Temple Lang
BitwiseValue
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.