Learn R Programming

metacoder (version 0.3.7)

data_used: 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(...)

Value

`list`

Arguments

obj

a [taxonomy()] or [taxmap()] object

...

One or more expressions

See Also

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

Examples

Run this code
# 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