plot_type1error {psborrow} | R Documentation |
Plot type 1 error
Description
Plot type 1 error for each prior distribution according to selected simulation parameters
Usage
plot_type1error(dt, driftHR = 1, pred = "none")
Arguments
dt |
a |
driftHR |
the driftHR between the external and internal control arms for which the type 1 error should be plotted. Must be within |
pred |
the predictors used when fitting the exponential distribution in MCMC for which the type 1 error should be plotted. Must be within |
Value
a bar plot of class ggplot
containing type 1 error proportions for each prior distribution.
[Package psborrow version 0.2.1 Index]