Find the given value in a hash table | R Documentation |
Find the given value in a hash table or list.
hash.find(x,key)
x |
A hash table or list. |
key |
The key for searching the table. |
This function search the given key.
If the given key exists return its value else returns 0.
Manos Papadakis
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>
hash.list
x <- hash.list(letters,c(1:26))
value <- hash.find(x,"a")
x[["a"]]==value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.