Find the given value in a hash table {Rfast} | R Documentation |
Find the given value in a hash table
Description
Find the given value in a hash table or list.
Usage
hash.find(x,key)
Arguments
x |
A hash table or list. |
key |
The key for searching the table. |
Details
This function search the given key.
Value
If the given key exists return its value else returns 0.
Author(s)
Manos Papadakis
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>
See Also
Examples
x <- hash.list(letters,c(1:26))
value <- hash.find(x,"a")
x[["a"]]==value
[Package Rfast version 2.1.0 Index]