delete | R Documentation |
These generics are used for deleting a single key or key/value
pair from an hashset
or hashmap
, respectively.
delete(x, key)
## S3 method for class 'r2r_hashmap'
delete(x, key)
## S3 method for class 'r2r_hashset'
delete(x, key)
x |
an |
key |
an arbitrary R object. Key to be deleted from the hash table. |
NULL
, invisibly.
Valerio Gherardi
s <- hashset(1, 2, 3)
delete(s, 3)
s[[3]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.