polymod_setting_models | R Documentation |
A data object containing a list of fitted gam models
predicting the number of contacts in each of the four settings which are
"home","work","school" and "other". For more details on model fitting,
see fit_setting_contacts()
. This object has been provided as data to
avoid recomputing a relatively common type of model for use with conmat
.
polymod_setting_models
An object of class setting_contact_model
(inherits from list
) of length 4.
fit_setting_contacts()
## Not run:
# code used to produce this data
library(conmat)
set.seed(2022 - 08 - 26)
polymod_contact_data <- get_polymod_setting_data()
polymod_survey_data <- get_polymod_population()
polymod_setting_models <- fit_setting_contacts(
contact_data_list = polymod_contact_data,
# population = polymod_survey_data
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.