print.TwoStageGoldStandardDesign: Printing method for optimal two-stage goldstandard designs

View source: R/design_display_functions.R

print.TwoStageGoldStandardDesignR Documentation

Printing method for optimal two-stage goldstandard designs

Description

Printing method for optimal two-stage goldstandard designs

Usage

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

Arguments

x

An object of class TwoStageGoldStandardDesign

...

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 15 seconds.

optimize_design_twostage(
  cT2 = 1,
  cP2 = quote(cP1),
  cC2 = quote(cC1),
  bTP1f = -Inf,
  bTC1f = -Inf,
  beta = 0.2,
  alternative_TP = 0.4,
  alternative_TC = 0,
  Delta = 0.2,
  binding_futility = TRUE,
  lambda = .9,
  kappa = 1,
  nloptr_opts = list(algorithm = "NLOPT_LN_SBPLX", ftol_rel = 1e-01)
)


OptimalGoldstandardDesigns documentation built on Sept. 11, 2023, 5:09 p.m.