keyval2hashtable: Convert a vector of keys and values to a hashtable Take a...

Description Usage Arguments Note Author(s)

Description

Convert a vector of keys and values to a hashtable Take a vector of keys, a vector of values, and convert into a hashtable.

Usage

1
keyval2hashtable(keys, values, make.unique = TRUE, sort.method = sort)

Arguments

keys

a character vector, with keys

values

a vector of values. length(values)==length(keys)

make.unique

logical: keep redundant key->value pairs?

sort.method

the method to use to sort the values for each key

Note

Hashtable keys have to be <255 characters in length.

Author(s)

Mark Cowley, 2009-07-13


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