Sets initialization function for sampling
set_foi_init.Rd
Sets initialization function for sampling
Arguments
- foi_init
Initialization function for sampling. If null, default is chosen depending on the foi-scale of the model
- is_log_foi
Boolean to set logarithmic scale in the FOI
- foi_index
Integer vector specifying the age-groups for which force-of-infection values will be estimated. It can be specified by means of get_foi_index
Examples
data(chagas2012)
foi_index <- get_foi_index(chagas2012, group_size = 5, model_type = "age")
foi_init <- set_foi_init(
foi_init = NULL,
is_log_foi = FALSE,
foi_index = foi_index
)