Learn R Programming

OptimalGoldstandardDesigns (version 1.0.1)

print.OneStageGoldStandardDesign: Printing method for optimal single-stage goldstandard designs

Description

Printing method for optimal single-stage goldstandard designs

Usage

# S3 method for OneStageGoldStandardDesign
print(x, ...)

Value

returns the input x invisibly. This functions is used for its side effects, i.e. printing design characteristics to the screen.

Arguments

x

An object of class OneStageGoldStandardDesign

...

additional parameters

Examples

Run this code
# 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)
)

Run the code above in your browser using DataLab