Function wrapper to run model for multiple time windows with set of transmission rates

model_run_wrapper(
  breakpoints,
  beta_values,
  init_conditions,
  params,
  mle = TRUE
)

Arguments

breakpoints

list of breakpoints

beta_values

vector of beta values

init_conditions

vector of initial conditions

params

vector of model input parameters

mle

logical, if TRUE the current run is the maximum likelihood estimate