Description Usage Arguments Value
Permutes clusters to a sequence, using the permutation in column perm.ind from perm.dt, uses hypothetical.data.dt to assign conditions for speed.
1 2 3 4 5 6 | permute.clusters.to.sequence(
perm.ind,
perm.dt,
hypothetical.data.dt,
exclude.transition = T
)
|
perm.ind |
Number of permutation column in perm.dt that should be used. |
perm.dt |
Precalculated table of how to permute clusters to sequences, with first column being clusters, and then one column for each permutation after that. |
hypothetical.data.dt |
data.table with hypothetical data point condition assignments if each cluster were in each sequence. Three columns, sequence, cluster (containing all combinations), and data.dt, containing the hypothetical data.dt from only that cluster. |
exclude.transition |
boolean, should the result exclude data opints from the transition period? (Default = T) |
A data.table with permuted data and group assignments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.