View source: R/table_bindings.R
treat_var | R Documentation |
Return or set the treatment variable binding
treat_var(table)
set_treat_var(table, treat_var)
table |
A |
treat_var |
Variable containing treatment group assignments. Supply unquoted. |
For tplyr_treat_var
the treat_var binding of the tplyr_table
object. For set_tplyr_treat_var
the modified object.
tab <- tplyr_table(mtcars, cyl)
set_treat_var(tab, gear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.