each.h: Extract the Key-Value Pairs of a Hash

Description Usage Arguments Value Author(s) Examples

Description

This function extracts all the key-value pairs of a hash.

Usage

1
each.h(hash)

Arguments

hash

An R environment but for purposes here a hash.

Value

This function returns a list of the key-value pairs of the hash.

Author(s)

W.H. Asquith, Spring 2009

Examples

1
2
3
4
5
my.new.hash <- new.h()
set.h("author1", "william",  my.new.hash)
set.h("author2", "george",   my.new.hash)
set.h("author3", "theodore", my.new.hash)
each.h(my.new.hash)

wasquith-usgs/rash documentation built on May 29, 2019, 10:31 a.m.