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