Deprecated Simulation Functions
changing_ratemat_elements(model, sim_params = NULL)
simulate_changing_ratemat_elements(model, sim_params = NULL, add_dates = FALSE)
concatenated_state_vector(model, sim_params = NULL)
simulate_state_vector(
model,
sim_params = NULL,
add_dates = FALSE,
format = c("wide", "long", "ggplot")
)
initial_state_vector(model, sim_params = NULL)
final_state_vector(model, sim_params = NULL)
penultimate_state_vector(model, sim_params = NULL)
final_state_ratio(model, sim_params = NULL)
initial_ratemat(model, sim_params = NULL)
simulation_condensed(model, add_dates = TRUE, sim_params = NULL)
condense_flexmodel(model)
# S3 method for flexmodel
simulate(
object,
nsim = 1,
seed = NULL,
do_condensation = FALSE,
format = c("long", "wide"),
add_dates = TRUE,
sim_params = NULL,
...
)
simulation_fitted(model)
flexmodel
parameter vector to pass to a TMB objective function
should column with dates be added to the output
how to return the results
flexmodel
object
number of simulations
random seed
should condensed set of variables be returned if available
Other simulation:
simulate_ensemble()
,
simulation_history()