Utility function for optimizeByLOESS Run a simulation in the vicinity of a previous simulation

repeatSim(
  parmRow,
  replication,
  radius = 0.02,
  initializeFunc,
  productPipeline,
  populationImprovement,
  targetBudget,
  bsp,
  seed = NULL
)

Arguments

parmRow

Vector resulting from getParmsResponse and that contains parameters for the simulation to be repeated

replication

Integer replication

radius

Real radius around which to sample the budget so it's not an _exact_ repeat

initializeFunc

Function for runBreedingScheme

productPipeline

Function for runBreedingScheme

populationImprovement

Function for runBreedingScheme

targetBudget

Real how much to spend total. See CostControlFile

bsp

List breeding scheme parameters

seed=NULL

Integer seed to initialize pseudo-random number generator

Details

Sample the budget and run a simulation close to a previous one. Useful to rerun where the prediction is particularly high (we need to know if that prediction is for real) or where the standard error is particularly high (we need more info in that vicinity)