plot.multiarm_des_dtl_bern() produces power curve plots for a
specified multi-stage drop-the-losers multi-arm clinical trial design
assuming the primary outcome is Bernoulli distributed.
     
    # S3 method for multiarm_des_dtl_bern
plot(
  x = des_dtl_bern(),
  delta_min = -x$pi0 + 1e-06,
  delta_max = 1 - x$pi0 - 1e-06,
  delta = x$delta1 - x$delta0,
  density = 100,
  output = FALSE,
  print_plots = TRUE,
  summary = FALSE,
  ...
)
    Arguments
    
    
    
      | x | A listof class"multiarm_des_dtl_bern", as
returned bybuild_dtl_bernordes_dtl_bern(i.e.,
a multi-stage drop-the-losers multi-arm clinical trial design for a Bernoulli
distributed outcome). Defaults todes_dtl_bern(). | 
    
      | delta_min | A numericspecifying the chosen minimum value
for the treatment effects to include on the produced plots. Defaults to-x$pi0 + 1e-6. | 
    
      | delta_max | A numericspecifying the chosen maximum
value for the treatment effects to include on the produced plots. Defaults to1 - x$pi0 - 1e-6. | 
    
      | delta | A numericspecifying the chosen treatment effect
shift to use in the 'shifted treatment effects plot'. Defaults tox$delta1 - x$delta0. | 
    
      | density | A numericvariable indicating the number of
treatment effect scenarios to consider for each power curve. Increasingdensityincreases the smoothness of the produced plots, at the cost of
increased run time. Defaults to100. | 
    
      | output | A logicalvariable indicating whether the
available outputs from the function (see below) should be returned. Defaults
toFALSE. | 
    
      | print_plots | A logicalvariable indicating whether to
print produced plots. Defaults toTRUE. | 
    
      | summary | A logicalvariable indicating whether a summary
of the function's progress should be printed to the console. Defaults toFALSE. | 
    
      | ... | Not currently used. | 
    
    Value
    If output = T, a list containing the following elements
    See also
    
    Examples