enumRemove | R Documentation |
Remove an entry from the enum.
enumRemove(keys, enum)
keys |
Key(s) of entries to be removed from the enum |
enum |
Enum from which the entries to be removed WARNING: the original object is not modified! |
Enum without the removed entries.
Other enumeration-helpers:
enumGetKey()
,
enumGetValue()
,
enumHasKey()
,
enumKeys()
,
enumPut()
,
enumValues()
,
enum()
Symbol <- enum(c(Diamond = 1, Triangle = 2, Circle = 2)) # either by key enumRemove("Diamond", Symbol) # or by position enumRemove(2L, Symbol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.