Calculate next generation contact matrices from ABS data
generate_ngm_oz.Rd
This function calculates a next generation matrix (NGM)
based on state or LGA data from the Australian Bureau of Statistics (ABS).
For full details see generate_ngm()
.
Usage
generate_ngm_oz(
state_name = NULL,
lga_name = NULL,
age_breaks,
R_target,
setting_transmission_matrix = NULL
)
Arguments
- state_name
target Australian state name in abbreviated form, such as "QLD", "NSW", or "TAS"
- lga_name
target Australian local government area (LGA) name, such as "Fairfield (C)". See
abs_lga_lookup()
for list of lga names.- age_breaks
vector depicting age values with the highest age depicted as
Inf
. For example, c(seq(0, 85, by = 5), Inf)- R_target
target reproduction number
- setting_transmission_matrix
default is NULL, which calculates the transmission matrix using
get_setting_transmission_matrices(age_breaks)
. You can provide your own transmission matrix, but its rows and columns must match the number of rows and columns, and must be a list of one matrix for each setting. See the output forget_setting_transmission_matrices(age_breaks)
to get a sense of the structure. Seeget_setting_transmission_matrices()
for more detail.