gen_rand_order | R Documentation |
Function to generate a stepped-wedge cRCT randomisation allocation. Assumes a baseline and endline period in which no clusters and all clusters have the intervention, respectively.
gen_rand_order(nJ, nT)
nJ |
Number of clusters |
nT |
Number of time points |
A data frame with columns cl and t indicating the time
gen_rand_order(10,7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.