vector2hashtable: Convert a vector to a hashtable Take a vector of words, and...

Description Usage Arguments Author(s)

Description

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.

Usage

1

Arguments

x

a character vector, with non-unique items. sorting is not required.

warn

logical: warn if the keys are >255 characters long.

Author(s)

Mark Cowley, 2009-07-13


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.