View source: R/design_display_functions.R
print.TwoStageGoldStandardDesign | R Documentation |
Printing method for optimal two-stage goldstandard designs
## S3 method for class 'TwoStageGoldStandardDesign'
print(x, ...)
x |
An object of class TwoStageGoldStandardDesign |
... |
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 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)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.