Description Usage Arguments Note Author(s)
Convert a table to a hashtable
Take a table with a key.column
, and a value.column
, and convert into a hashtable.
1 2 | table2hashtable(x, key.column = 1, value.column = 2, make.unique = TRUE,
sort.method = sort)
|
x |
a |
key.column |
the column index or name where the keys are |
value.column |
the column index or name where the values are |
make.unique |
logical: keep redundant key->value pairs? |
sort.method |
the method to use to sort the values for each key |
Hashtable keys have to be <255 characters in length.
Mark Cowley, 2009-07-13
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.