Learn R Programming

bpp (version 1.0.4)

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)

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.

Value

Empty generic plot.

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
# NOT RUN {
# type ?bpp_1interim for code of all the computations in Rufibach et al (2016a).

# }

Run the code above in your browser using DataLab