Description Usage Arguments Value
Generates a number of simulated datasets, and assesses the ICC of each. Parameter lists are as provided to generate.sim.parameters.dt and generate.confound.interventions.parameters.dt, but if there are vectors for any of the values, these will be randomly sampled, generating multiple scenarios.
1 2 3 4 5 6 7 8 9 10 | calculate.icc.dt.of.simulations(
cluster.dt,
sequence.dt,
sim.parameters.args.list,
confound.interventions.args.list,
n.iterations = 20,
progress.bar = T,
binarise.data = 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.args.list |
List of parameters, as provided to generate.sim.parameters.dt |
confound.interventions.args.list |
List of parameters, as provided to confound.interventions.args.list |
n.iterations |
Integer number of *total* iterations to assess (i.e. not the number per scenario) |
binary.data |
Generate binary data (Default: F) |
A data.table with a column for each simulation parameter, and a column named ICC added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.