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

View source: R/design_display_functions.R

print.OneStageGoldStandardDesignR Documentation

Printing method for optimal single-stage goldstandard designs

Description

Printing method for optimal single-stage goldstandard designs

Usage

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

Arguments

x

An object of class OneStageGoldStandardDesign

...

additional parameters

Value

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

Examples

# 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)
)


jan-imbi/OptimalGoldstandardDesigns documentation built on Sept. 13, 2023, 11:47 a.m.