Learn R Programming

hash (version 1.0.3)

length: Returns the number of items in a hash

Description

Returns the number of items in a hash

Arguments

Value

integerNumber of items in the hash.

Details

Return the number of items in the hash

See Also

See Also hash

Examples

Run this code
h <- hash( letters, 1:26 )
  length(h) # 26

Run the code above in your browser using DataLab