Description Usage Arguments Value
View source: R/setup_experiment.R
Add a treatment to the experiment
1 2 | add_treatment(name = paste0("x", length(self$treatments) + 1),
boundaries = NULL)
|
name |
a unique length 1 character vector giving the name of a treatment |
boundaries |
optional length 2 numeric vector giving boundaries on possible treatment levels |
invisible
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.