BitwiseValue | R Documentation |
These functions and related classes and methods are used to work
BitwiseValue(val, name = names(val), class = if (is(val, "BitwiseValue")) class(val) else "BitwiseValue", asVector = TRUE, S3 = FALSE, defValues = getEnumValues(class, name))
val |
the value which is to be converted to the appropriate enumerated class. This can be a numeric value or vector, or a character vector giving the names of the symbolic constants within the enumeration set. |
name |
the symbolic name(s) of the value(s) in |
class |
the name of the R class corresponding to the specific enumeration type. |
asVector |
a logical value controlling the case where there is
more than one value in |
S3 |
currently ignored. a logical value. This is no longer used as we use S4 classes for these enumeration types |
defValues |
the named vector of symbolic name and value pairs
that define the enumeration collection. We try to find this
based on the name of the class of |
Duncan Temple Lang
# See tests/bits.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.