keys.h: Extract the Keys of a Hash

Description Usage Arguments Value Author(s) Examples

Description

This function extracts the keys of a hash.

Usage

1
keys.h(hash)

Arguments

hash

An R environment but for purposes here a hash.

Value

This function returns a vector of keys 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)
keys.h(my.new.hash)

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