Creates a named vector that maps the values of two variables associated with
taxa in a [taxonomy()] or [taxmap()] object without using Non-Standard
Evaluation (NSE). Both values must be named by taxon ids. This is the same as
[map_data()] without NSE and can be useful in some odd cases where NSE fails
to work as expected.
obj$map_data(from, to)
map_data(obj, from, to)
Value
A vector of `to` values named by values in `from`.
Arguments
obj
The [taxonomy()] or [taxmap()] object.
from
The value used to name the output. There will be one output value
for each value in `from`.