Learn R Programming

hash (version 1.0.3)

hash-class: Class "hash"

Description

Implements a S4 hash class in R similar to hashes / associatesd arrays / dictionaries in languages. As much as possible these constructs have been given an R type interface. Hash construction is flexible and takes several syntaxes.

Accessors are defined for $, [ and [[.

Arguments

docType

class

Extends

None by design.

References

http://en.wikipedia.org/wiki/Hash_table

http://en.wikipedia.org/wiki/Associative_array

See Also

See also as environment.

Examples

Run this code
showClass("hash")

Run the code above in your browser using DataLab