cut.time.into.conditions: Cut timepoints from a single cluster into separate...

Description Usage Arguments Value

Description

Cut timepoints from a single cluster into separate conditions, return list of conditions.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'time.into.conditions'
cut(
  time,
  transition.time,
  intervention.time,
  time.start = -Inf,
  time.end = Inf,
  cut.labels = c("control", "transition", "intervention")
)

Arguments

time

numeric vector of times.

transition.time

numeric indicating when the transition period should start.

intervention.time

numeric indicating when the intervention period should start.

time.start

numeric indicating when labelling the transition time should start. (Default = -Inf)

time.end

numeric indicating when labelling the intervention time should end. (Default = Inf)

cut.labels

What should the labels be? (Default: c('control','transition','intervention'))

Value

List of conditions in the same order as presented.


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