has.key | R Documentation |
has.key
returns a logical vector as long as keys
, indicating
which keys are defined on the hash.
has.key(key, hash, ...)
key |
A vector whose entries will be coerced to valid keys. |
hash |
A |
... |
arguments passed to further functions |
None.
logical |
A logical vector of length |
Christopher Brown
See also hash
h <- hash( letters, 1:26 )
all( has.key( letters, h ) ) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.