taxa (version 0.3.3)

data_used: Get values of data used in expressions

Description

Get values available for non-standard evaluation in a taxonomy() or taxmap() object used in expressions. Expressions are not evaluated and do not need to make sense.

obj$data_used(...)

Arguments

obj

a taxonomy() or taxmap() object

...

One or more expressions

Value

list

See Also

Other NSE helpers: all_names(), get_data(), names_used

Examples

Run this code
# NOT RUN {
# Get values for variables names used in expressions
ex_taxmap$data_used(n_legs + dangerous == invalid_expression)
ex_taxmap$data_used(length(unique(taxon_names)))

# }

Run the code above in your browser using DataLab