Description Usage Arguments Value
Assigns control, transition, and intervention condition column on the basis of experiment info. Can optionally include transition period data points.
1 2 3 4 5 6 7 8 |
data.dt |
data.table with columns participant, cluster, time, and outcome. Outcome should be continuous. |
cluster.dt |
data.table with the correspondence between cluster and sequence, with columns cluster and sequence. |
sequence.dt |
data.table with information about the sequences, with columns sequence, transition.time, and intervention.time. |
exclude.transition |
boolean, should the result exclude data points from the transition period? (Default = T) |
cut.labels |
Character vector of labels for control, transition, and intervention periods. Probably don't change this (Default: c('control','transition','intervention')) |
The input data.dt with conditions attached.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.