Function to implement infection processes for SEIQHRF model

seiqhrf(init, control, param, priors = NULL, seed = NULL)

Arguments

init

Initial state values, returned by init_seiqhrf.

control

Control parameters of the model, returned by control_seiqhrf.

param

Model parameters, returned by param_seiqhrf.

priors

A prior object returned by select_prior.

seed

random seed for checking consistency

Value

Updated dat