powered by
This score evaluates max(n(d)) for a design d.
max(n(d))
d
MaximumSampleSize(label = "max(n(x1))")# S4 method for MaximumSampleSize,TwoStageDesign evaluate(s, design, optimization = FALSE, ...)
# S4 method for MaximumSampleSize,TwoStageDesign evaluate(s, design, optimization = FALSE, ...)
object label (string)
Score object
Score
object
logical, if TRUE uses a relaxation to real parameters of the underlying design; used for smooth optimization.
TRUE
further optional arguments
Scores for general scores and ConditionalSampleSize for evaluating the sample size point-wise.
design <- TwoStageDesign(50, .0, 2.0, 50, 2.0, order = 5L) mss <- MaximumSampleSize() evaluate(mss, design)
Run the code above in your browser using DataLab