Includes every randomized participant in the originally assigned arm. Missing outcomes, adherence, and post-randomization events do not alter membership.
Usage
intentionToTreat(
trial,
participants,
id_col = "id",
arm_col = "arm",
randomized_col = "randomized"
)Arguments
- trial
A Trial object.
- participants
One row per source participant.
- id_col, arm_col, randomized_col
Column names in
participants.