This takes care of a few backward incompatibilities

  • converts dates (could previously be in a wide range of formats, are now required to be in as.Date()-transformable format so that we don't depend on anytime)

  • inserts the current version of run_sim_break (or whatever sim_fun is specified)

  • converts params_timevar to new format

fix_stored(x, sim_fun = run_sim_break)

Arguments

x

fitted model (fit_pansim)

sim_fun

simulation function