mapping: Create a 'mapping' object.

Description Usage Arguments Value See Also

View source: R/mapping.R

Description

Create a mapping object.

Usage

1
mapping(values = NULL, keys = NULL)

Arguments

values

Vector of mapping values. If the keys parameter is not set, the names of this vector are used as the keys of the mapping.

keys

Character vector of mapping keys.

Value

A mapping of unique string keys to individual values; equivalent to a named list in which each element is a vector with one element.

See Also

Other mapping object functions: as.mapping, is.mapping, mappingKeys, mappingValues


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.