Returns tax_info from Recipe-class object
Arguments
- rec
A Recipe or PrepRecipe object.
Value
Tibble containing tax_info.
Examples
data(metaHIV_phy)
rec <- recipe(metaHIV_phy, var_info = "RiskGroup2", tax_info = "Species")
get_tax(rec)
#> # A tibble: 1 × 1
#> tax_lev
#> <chr>
#> 1 Species