data_used: Get values of data used in expressions

data_usedR Documentation

Get values of data used in expressions

Description

Get values available for [non-standard evaluation](http://adv-r.had.co.nz/Computing-on-the-language.html) 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

# 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)))


metacoder documentation built on April 4, 2023, 9:08 a.m.