| enumPut | R Documentation |
enumAdd a new key-value pairs to an enum
enumPut(keys, values, enum, overwrite = FALSE)
keys |
Keys of the values to be added |
values |
Values to be added |
enum |
The enum to which the specified key-value pairs should be added. WARNING: the original object is not modified! |
overwrite |
If |
Enum with added key-value pair.
Other enumeration-helpers:
enumGetKey(),
enumGetValue(),
enumHasKey(),
enumKeys(),
enumRemove(),
enumValues(),
enum()
myEnum <- enum(c(a = "b"))
myEnum <- enumPut("c", "d", myEnum)
myEnum <- enumPut(c("c", "d", "g"), c(12, 2, "a"), myEnum, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.