plot_type1error | R Documentation |
Plot type 1 error for each prior distribution according to selected simulation parameters
plot_type1error(dt, driftHR = 1, pred = "none")
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 |
a bar plot of class ggplot
containing type 1 error proportions for each prior distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.