dictionary: Dictionary object

Description Usage Arguments Value

View source: R/dictionary.R

Description

A dictionary object backed by C++'s std::unordered_map.

Usage

1
dictionary(..., lst = NULL, keys = NULL, values = NULL)

Arguments

...

Argument value pairs to put in the dictionary.

lst

A list to put into the dictionary.

keys

Keys to put into a dictionary. Needs to have the same length as values.

values

Values to put into a dictionary. Needs to have the same length as keys.

Value

A dictionary object.


bobjansen/recollections documentation built on Feb. 13, 2022, 1:30 p.m.