From 68954cc6b87b54201a4580e5391a094e294bfbca Mon Sep 17 00:00:00 2001 From: philchalmers Date: Fri, 7 Feb 2025 10:42:38 -0500 Subject: [PATCH] drop burn-in budget slightly --- R/SimSolve.R | 6 +++--- SimDesign.Rproj | 1 - man/SimSolve.Rd | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/R/SimSolve.R b/R/SimSolve.R index c697c6ae..65dfe696 100644 --- a/R/SimSolve.R +++ b/R/SimSolve.R @@ -39,13 +39,13 @@ #' indicating the number of replication to #' use for each design condition per PBA iteration. By default the input is a #' \code{list} with the arguments \code{burnin.iter = 15L}, specifying the number -#' of burn-in iterations to used, \code{burnin.reps = 100L} to indicate how many +#' of burn-in iterations to used, \code{burnin.reps = 50L} to indicate how many #' replications to use in each burn-in iteration, \code{max.reps = 500L} to #' prevent the replications from increasing higher than this number, #' \code{min.total.reps = 9000L} to avoid termination when very few replications #' have been explored (lower bound of the replication budget), #' and \code{increase.by = 10L} to indicate how many replications to increase -#' after the burn-in stage. Default can overwritten by explicit definition (e.g., +#' per iteration after the burn-in stage. Default can overwritten by explicit definition (e.g., #' \code{replications = list(increase.by = 25L)}). #' #' Vector inputs can specify the exact replications for each respective @@ -463,7 +463,7 @@ #' #' } SimSolve <- function(design, interval, b, generate, analyse, summarise, - replications = list(burnin.iter = 15L, burnin.reps = 100L, + replications = list(burnin.iter = 15L, burnin.reps = 50L, max.reps = 500L, min.total.reps = 9000L, increase.by = 10L), integer = TRUE, formula = y ~ poly(x, 2), family = 'binomial', diff --git a/SimDesign.Rproj b/SimDesign.Rproj index ddae7877..081c716d 100644 --- a/SimDesign.Rproj +++ b/SimDesign.Rproj @@ -1,5 +1,4 @@ Version: 1.0 -ProjectId: ce66594f-c677-4915-8d16-61eeb96d879c RestoreWorkspace: No SaveWorkspace: No diff --git a/man/SimSolve.Rd b/man/SimSolve.Rd index c71d8274..8f5ea9b7 100644 --- a/man/SimSolve.Rd +++ b/man/SimSolve.Rd @@ -13,7 +13,7 @@ SimSolve( generate, analyse, summarise, - replications = list(burnin.iter = 15L, burnin.reps = 100L, max.reps = 500L, + replications = list(burnin.iter = 15L, burnin.reps = 50L, max.reps = 500L, min.total.reps = 9000L, increase.by = 10L), integer = TRUE, formula = y ~ poly(x, 2), @@ -71,13 +71,13 @@ see \code{\link{runSimulation}}} indicating the number of replication to use for each design condition per PBA iteration. By default the input is a \code{list} with the arguments \code{burnin.iter = 15L}, specifying the number - of burn-in iterations to used, \code{burnin.reps = 100L} to indicate how many + of burn-in iterations to used, \code{burnin.reps = 50L} to indicate how many replications to use in each burn-in iteration, \code{max.reps = 500L} to prevent the replications from increasing higher than this number, \code{min.total.reps = 9000L} to avoid termination when very few replications have been explored (lower bound of the replication budget), and \code{increase.by = 10L} to indicate how many replications to increase - after the burn-in stage. Default can overwritten by explicit definition (e.g., + per iteration after the burn-in stage. Default can overwritten by explicit definition (e.g., \code{replications = list(increase.by = 25L)}). Vector inputs can specify the exact replications for each respective