Learn R Programming

bpp (version 1.0.6)

basicPlot: Basic plot functions to illustrate prior and posterior densities when considering a time-to-event endpoint

Description

Basic plot function, labels are specific to the hazard ratio, i.e. when looking at a time-to-event endpoint.

Usage

basicPlot(leg = TRUE, IntEffBoundary = NA, IntFutBoundary = NA, successmean = NA, 
       priormean = NA)

Value

Empty generic plot.

Arguments

leg

logical, display legend?

IntEffBoundary

Interim efficacy boundary.

IntFutBoundary

Interim futility boundary.

successmean

The mean that defines success at the final analysis. Typically chosen to be the minimal detectable difference, i.e. the critical on the scale of the effect size of interest corresponding to the significance level at the final analysis.

priormean

Mean of the prior.

Author

Kaspar Rufibach (maintainer)
kaspar.rufibach@roche.com

References

Rufibach, K., Jordan, P., Abt, M. (2016a). Sequentially Updating the Likelihood of Success of a Phase 3 Pivotal Time-to-Event Trial based on Interim Analyses or External Information. J. Biopharm. Stat., 26(2), 191--201.

Examples

Run this code

# type ?bpp_1interim for code of all the computations in Rufibach et al (2016a).

Run the code above in your browser using DataLab