plot_bias {psborrow} | R Documentation |
Plot bias
Description
Plot bias for each prior distribution according to selected simulation parameters
Usage
plot_bias(dt, HR = 1, driftHR = 1, pred = "none")
Arguments
dt |
a |
HR |
pre-specified HR between treatment and control arm in the internal trial for which the bias should be plotted. Must be within |
driftHR |
pre-specified HR between external control arm and internal control arm for which the bias should be plotted. Must be within |
pred |
predictors to use when fitting exponential distribution in MCMC for which the bias should be plotted. Must be within |
Value
a bar plot of class ggplot
containing the bias for each prior distribution.
[Package psborrow version 0.2.1 Index]