Adds variable of interest to the Recipe
Examples
data(metaHIV_phy)
rec <- recipe(metaHIV_phy)
rec <- add_var(rec, var_info = "RiskGroup2")
rec
#> ── DAR Recipe ──────────────────────────────────────────────────────────────────
#> Inputs:
#>
#> ℹ phyloseq object with 451 taxa and 156 samples
#> ℹ variable of interes RiskGroup2 (class: character, levels: hts, msm, pwid)
#> ✖ undefined taxonomic level. Use add_tax() to add it to Recipe!
#>
