Description Usage Arguments Author(s)
Useful for collapsing a many-to-one vector, where each 'key' may be found > 1 times and you want some logic to choose the best row for each key. Hashtable keys have to be <255 characters in length.
1 | vector2hashtable(x, warn = TRUE)
|
x |
a character vector, with non-unique items. sorting is not required. |
warn |
logical: warn if the keys are >255 characters long. |
Mark Cowley, 2009-07-13
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.