Description Usage Arguments Details Value See Also Examples
View source: R/plot.sa_des_bayesfreq.R
Plots the stopping boundaries of Bayesian-frequentist single-arm trial
designs determined using des_bayesfreq()
. The possible
(s,m) states during the trial
are plotted in a colour coded manner to indicate their associated decision
rules.
1 2 |
x |
An object of class |
... |
Additional objects of class |
output |
A logical variable indicating whether the outputs described below should be returned. |
Support is available to simultaneously plot the stopping boundaries of multiple Bayesian-frequentist single-arm clinical trial designs for a single binary primary endpoint, using faceting.
If output = TRUE
, a list containing the following elements is
returned
A list in the slot $plot_des
containing the available plots.
Each of the input variables as specified, subject to internal modification.
des_bayesfreq
, opchar_bayesfreq
, and
their associated plot
family of functions.
1 2 3 4 5 | # Find the optimal two-stage Bayesian-frequentist design for the default
# parameters
des <- des_bayesfreq()
# Plot the stopping boundaries
plot(des)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.