Learn R Programming

rpact (version 5.0.0)

.addExpectedDropoutProportions: Add Expected Dropout Proportions to a Survival Design Plan

Description

Populates derived group-specific dropout proportions at each stage's planned analysis time in each scenario, including analyses before recruitment ends.

Usage

.addExpectedDropoutProportions(designPlan)

Value

Invisibly returns the assigned derived parameter type; the design plan is updated by reference.

Arguments

designPlan

Survival sample-size or power design plan, modified by reference. Its survival and accrual inputs must already be normalized.

Details

Converts input dropout probabilities to exponential hazards and averages competing-risk dropout incidence over accrued subjects. Stores matrices with stage rows and alternative-scenario columns. Values remain missing when observation times are not accounted for or the horizon is unavailable.