Learn R Programming

⚠️There's a newer version (3.0.1) of this package.Take me there.

hash (version 1.0.3)

Implements hash/associated arrays/dictionaries

Description

This package implements a data structure similar to hashes in Perl and dictionaries in Python but with a purposefully R flavor.

Copy Link

Version

Install

install.packages('hash')

Monthly Downloads

28,408

Version

1.0.3

License

LGPL (>= 2)

Maintainer

Christopher Brown

Last Published

November 5th, 2009

Functions in hash (1.0.3)

values

Extract values of a hash object.
Format hash object for pretty printing

Methods for Function format in Package 'hash'
hash-accessors

Accessor methods for the hash class.
make.keys

creates/coerces objects to proper hash keys
.set

assign key-value pair(s) to a hash
clear

Removes all key-value pairs from a hash
hash-class

Class "hash"
keys

Returns key(s) from a hash
.get

Get values from a hash
invert

Create an inverted hash.
hash

hash/associative array/dictionary data structure for the R language
length

Returns the number of items in a hash
has.key

Test for existence of key(s) on a hash
del

Remove key-value pair(s) from a hash
hash-package

Hash/associative array/dictionary data structure for the R language.