generate.sequence.dt: Generates a data.table that describes the sequence of...

Description Usage Arguments Value

Description

Generates a data.table that describes the sequence of interventions in clusters.

Usage

1
2
3
4
5
6
7
generate.sequence.dt(
  n.sequence,
  duration.of.period,
  transition.period = 0,
  intervention.sequence = F,
  control.sequence = F
)

Arguments

n.sequence

Integer number of sequences.

duration.of.period

Integer length of period.

transition.period

Integer transition period. This is the number of days before intervention that are considered transitional (Default: 0, no transition)

intervention.sequence

Boolean add a sequence that is entirely intervention (Default: F)

control.sequence

Boolean add a sequence that is entirely control (Default: F)

Value

A data.table with sequence number, transition period start, and intervention start.


mattmoo/SteppedWedgeAnalysis documentation built on Jan. 14, 2020, 12:25 a.m.