# \donttest{
# init_cluster(2)
# GBOP2_maxP_TE(
# design = "optimal",
# nlooks = 1,
# skip_efficacy = NULL,
# skip_toxicity = NULL,
# totalPatients = 50,
# Nmin_cohort1 = 10,
# Nmin_increase = 5,
# p01 = 0.15,
# p02 = 0.16,
# p03 = 0.024,
# p11 = 0.4,
# p12 = 0.08,
# p13 = 0.032,
# err_eff = 1,
# err_tox = 1 ,
# err_all = 0.1,
# power_all = 0.8,
# nParallel = 3,
# seed = 5321,
# pso_method = "default",
# nSwarm = 32,
# 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