powered by
Returns the key(s) from a hash
keys(x) # S3 method for hash names(x)
# S3 method for hash names(x)
A vector of type character
A hash object.
hash
Christopher Brown
Returns the character vector containing the keys of a hash object.
See Also hash.
h <- hash( letters, 1:26 ) keys(h) # letters names(h) # same
Run the code above in your browser using DataLab