creates/coerces objects to proper hash keys

Share:

Description

Given an vector of any type, make.keys tries to coerce it into a character vector that can be used as a hash key. This is used internally by the hash package and should not be normally needed.

Usage

1
make.keys(key)

Arguments

key

An object that represents the key(s) to be coerced to a valid hash keys.

Details

This function is used internally by the hash class to ensure that the keys are valid. There should be no need to use this externally and is only documented for completeness.

Value

A character vector of valid keys

Author(s)

Christopher Brown

See Also

See also as hash

Examples

1
2