
Last chance! 50% off unlimited learning
Sale ends in
TwoStageDesign
with optional set of conditional scoresThis method allows to plot the stage-two sample size and decision boundary functions of a chosen design.
# S4 method for TwoStageDesign
plot(x, y = NULL, rounded = TRUE, ...,
k = 100)
design to plot
not used
should n-values be rounded?
further named ConditinonalScores
to plot for the design
number of points to use for plotting
TwoStageDesign
and
user-defined elements of the class ConditionalScore
.
# NOT RUN {
design <- TwoStageDesign(50, 0, 2, 50, 2, 5)
cp <- ConditionalPower(dist = Normal(), prior = PointMassPrior(.4, 1))
plot(design, "Conditional Power" = cp)
# }
Run the code above in your browser using DataLab