Description Usage Arguments Value Examples
Creates a implementation matrix for a given stepped wedge design and intervention effectiveness pattern
1 | implemMatrix.SWD(nC, nT, nSw, pattern)
|
nC |
Number of clusters |
nT |
Number of timepoint |
nSw |
number of clusters switches from control to treatment at each timepoint |
pattern |
a vector for intervention effectiveness pattern gives the derivation from 100 percent effectiveness over time |
intervention effectivness pattern matrix as design matrix of size noCluster x noTimepoints
1 2 | implemMatrix.SWD(5,6,1, c(seq(0.4,1,0.2),1))
implemMatrix.SWD(10,6,2, c(seq(1,0.4,-0.2),1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.