Description Usage Arguments Value Examples
Take a dataset and assign treatment by a specified stratum
1 |
df |
a dataframe, containing strata variable |
strata |
a column in df naming the stratification variable, can be character or numeric |
id |
A variable identify unit of randomization |
dataframe with new column assigning treatment
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.