plot_hr | R Documentation |
Plot mean posterior hazard ratio between treatment and control
plot_hr(dt, HR = 0.67, driftHR = 1, pred = "none")
dt |
a |
HR |
pre-specified HR between treatment and control arm in the internal trial for which the mean posterior hazard ratio should be plotted. Must be within |
driftHR |
pre-specified HR between external control arm and internal control arm for which the mean posterior hazard ratio should be plotted. Must be within |
pred |
predictors to use when fitting exponential distribution in MCMC for which the mean posterior hazard ratio should be plotted. Must be within |
a plot of class ggplot
containing the mean posterior hazard ratio for each prior distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.