powered by
Remove an entry from the enum.
enumRemove(keys, enum)
Key(s) of entries to be removed from the 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()
enumGetKey()
enumGetValue()
enumHasKey()
enumKeys()
enumPut()
enumValues()
enum()
# NOT RUN { Symbol <- enum(c(Diamond = 1, Triangle = 2, Circle = 2)) # either by key enumRemove("Diamond", Symbol) # or by position enumRemove(2L, Symbol) # }
Run the code above in your browser using DataLab