DesignArm is a light-weight wrapper around Design object
for use in a HierarchicalDesign. Use DesignArm() for active arms
and HistoricalArm() for non-enrolling historical arms.
Usage
DesignArm(name, design, borrow = TRUE, open_when = NoArmCondition())
HistoricalArm(name, data, model, borrow = TRUE)
.DefaultDesignArm()Slots
name(
string)
the name of the arm.active(
flag)
whether the arm is enrolling or not (historical).borrow(
flag)
whether this arm may borrow information from other arms when making dose escalation decisions. Only relevant ifactive = TRUE.open_when(
ArmCondition)
the condition that must be satisfied before this arm opens for enrollment.design(
Design)
the design object for this arm.
Examples
design <- .DefaultDesign()
design_arm <- DesignArm(
name = "Arm A",
design = design
)
