keys | R Documentation |
Returns the key(s) from a hash
keys(x)
## S3 method for class 'hash'
names(x)
x |
A |
Returns the character vector containing the keys of a hash object.
keys |
A vector of type character |
Christopher Brown
See Also hash
.
h <- hash( letters, 1:26 )
keys(h) # letters
names(h) # same
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.