SafetyWindowConst-class: 'SafetyWindowConst'

SafetyWindowConst-classR Documentation

SafetyWindowConst

Description

[Stable]

SafetyWindowConst is the class for safety window length and it is used when the gap should be kept constant.

Usage

SafetyWindowConst(gap, follow, follow_min)

.DefaultSafetyWindowConst()

Arguments

gap

see slot definition.

follow

see slot definition.

follow_min

see slot definition.

Slots

gap

(integer)
a vector, the constant gap between patients.

follow

(count)
how long to follow each patient. The period of time that each patient in the cohort needs to be followed before the next cohort opens.

follow_min

(count)
minimum follow up. At least one patient in the cohort needs to be followed at the minimal follow up time.

Note

Typically, end users will not use the .DefaultSafetyWindowConst() function.

Examples

# This is to have along the study constant parameters settings of safety window
# length, regardless of the cohort size.
my_win_len <- SafetyWindowConst(
  gap = c(7, 5, 3),
  follow = 7,
  follow_min = 14
)

Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.