Skip to contents

Draws three base-R panels showing the predictive probability of success if accrual stops now, the predictive probability of success at the maximum sample size, and enrollment and observed events by treatment arm. Thresholds and early stopping decisions are marked on the probability panels.

Usage

plot_trial_trace(x)

Arguments

x

A required goldilocks_trial result from survival_adapt(), a goldilocks_interim result from evaluate_interim(), or an interim trace data frame.

Value

The trace data frame, invisibly.