Description Usage Arguments Value
Will raise an error if there are more than two unique treatments in the dataset. Applied across all hours and plate IDs.
1 | standardize_treatment_assigments(D, treatment_1, treatment_2)
|
D |
dataset |
treatment_1 |
String corresponding to the treatment to ensure is in the "treatment" column |
treatment_2 |
String corresponding to the treatment to ensure is in the "treatment_2" column |
A dataset with the same values as the dataset passed in as a parameter, but the treatment column will always be vehicle for treatment 1 or the value passed for treatment_1, and the treatment_2 column will always be the vehicle for treatment 2 or the value passed for treatment_2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.