generate_ngm_oz | R Documentation |
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()
.
generate_ngm_oz(
state_name = NULL,
lga_name = NULL,
age_breaks,
R_target,
setting_transmission_matrix = NULL
)
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 |
age_breaks |
vector depicting age values with the highest age depicted
as |
R_target |
target reproduction number |
setting_transmission_matrix |
default is NULL, which calculates the transmission
matrix using |
# don't run as both together takes a long time to run
## Not run:
ngm_nsw <- generate_ngm_oz(
state_name = "NSW",
age_breaks = c(seq(0, 85, by = 5), Inf),
R_target = 1.5
)
ngm_fairfield <- generate_ngm_oz(
lga_name = "Fairfield (C)",
age_breaks = c(seq(0, 85, by = 5), Inf),
R_target = 1.5
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.