# \donttest{
# init_cluster(2)
# GBOP2_minSS_TE(
# design = "optimal",
# unified.u = 1,
# nlooks = 1,
# skip_efficacy = NULL,
# skip_toxicity = NULL,
# maxPatients = 25,
# Nmin_cohort1 = 10,
# Nmin_increase = 5,
# p01 = 0.3,
# p02 = 0.4,
# p03 = 0.2,
# p11 = 0.6,
# p12 = 0.2,
# p13 = 0.15,
# err_eff = 0.1,
# err_tox = 0.1,
# err_all = 0.05,
# power_all = 0.8,
# pso_method = "default",
# nParallel = 3,
# seed = 5321,
# nSwarm = 64,
# maxIter = 100
# )
# stop_cluster() # Only if init_cluster() was used
#
message("Run GBOP2_minSS_singleE() manually for real optimization.")
# }
Run the code above in your browser using DataLab