View source: R/design_display_functions.R
print.OneStageGoldStandardDesign | R Documentation |
Printing method for optimal single-stage goldstandard designs
## S3 method for class 'OneStageGoldStandardDesign'
print(x, ...)
x |
An object of class OneStageGoldStandardDesign |
... |
additional parameters |
returns the input x invisibly. This functions is used for its side effects, i.e. printing design characteristics to the screen.
# Should take about 2 second with the chosen accuracy
optimize_design_onestage(
alpha = .025,
beta = .2,
alternative_TP = .4,
alternative_TC = 0,
Delta = .2,
mvnorm_algorithm = mvtnorm::Miwa(steps = 512, checkCorr = FALSE, maxval = 1000),
nloptr_opts = list(algorithm = "NLOPT_LN_SBPLX", ftol_rel = 1e-03, xtol_abs = 1e-08,
xtol_rel = 1e-07, maxeval = 1000, print_level = 0)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.