get_setting_size() retrieves the number of individuals in each individual location within a setting type (e.g. number of individuals in each workplace, school, or household). The function calculates these from the list of model variables, and returns a vector of individual location sizes.
Note that this function is not able to calculate the location sizes for the leisure setting.
Arguments
- variables_list
A list of model variables as generated using
create_variables()
- setting
One of
"workplace"
,"school"
, or"household"
- leisure_sizes
The sizes of the leisure settings as sampled using
sample_negbinom()
See also
Other miscellaneous:
generate_betas()