R/class-trial.R
Arm.Rd
Construct a Trial Arm
Arm( label, ratio = 1L, description = NA_character_, is_control = FALSE, treatment_code = NA_character_ )
Non-empty arm label.
Positive integer allocation weight.
Optional description.
Whether this is a control arm.
Optional masked treatment code.
An Arm object.
Arm("active", ratio = 2L, is_control = FALSE) #> An object of class "Arm" #> Slot "label": #> [1] "active" #> #> Slot "ratio": #> [1] 2 #> #> Slot "description": #> [1] NA #> #> Slot "is_control": #> [1] FALSE #> #> Slot "treatment_code": #> [1] NA #>