Description Usage Arguments Value
Creates a data.table with participants and simulates data for them.
1 2 3 4 5 6 7 8 | generate.data.dt(
cluster.dt,
sequence.dt,
sim.parameters.dt,
confound.interventions.parameters.dt,
return.intermediaries = F,
max.time = NULL
)
|
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. |
sim.parameters.dt |
The data.table generated by generate.sim.parameters.dt |
confound.interventions.parameters.dt |
The data.table generated by generate.confound.interventions.parameters.dt |
return.intermediaries |
If true, intermediaries will be returned (return type will be list), useful for plotting. |
A data.table with simulated data, or a list with simulated data (data.dt), all separate effects (effects.dt), and summed effects (summed.effects.dt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.