del | R Documentation |
Removes key-value pair(s) from a hash.
del(x,hash)
delete(x,hash)
x |
An object that will be coerced to valid key(s) to be removed from the hash.
|
hash |
A |
None. This method exists solely for the side-effects of removing items from the hash.
Christopher Brown
See Also as hash
, make.keys
.
h <- hash( letters, 1:26 )
h # 26 elements
del( "a", h )
h # 25 elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.