keys {hash}R Documentation

Returns key(s) from a hash

Description

Returns the key(s) from a hash

Usage

keys(hash)

Arguments

hash A hash object.

Details

Returns the character vector containing the keys of a hash object.

Value

keys A vector of type character

Author(s)

Christopher Brown

See Also

See Also hash.

Examples


    h <- hash( letters, 1:26 )
    keys(h) # letters

[Package hash version 0.23 Index]