sw.design.mat | R Documentation |
Constructs a basic SWT design matrix
sw.design.mat(I, J, H = NULL)
I |
Number of clusters |
J |
Number of time points |
H |
Number of units randomised at each time point |
Returns a design matrix X
Gianluca Baio
Baio, G; Copas, A; Ambler, G; Hargreaves, J; Beard, E; and Omar, RZ Sample size calculation for a stepped wedge trial. Trials, 16:354. Aug 2015.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.