View source: R/calc_network_R.R
calc_network_R | R Documentation |
R
) for a (heterogeneous)
networkThe calculation of the reproduction number adjusting for heterogeneity in number of contacts.
calc_network_R(
mean_num_contact,
sd_num_contact,
infect_duration,
prob_transmission,
age_range
)
mean_num_contact |
A |
sd_num_contact |
A |
infect_duration |
A |
prob_transmission |
A |
age_range |
A |
A named numeric
vector of length 2, the unadjusted (R
)
and network adjusted (R_net
) estimates of R
.
# example using NATSAL data
calc_network_R(
mean_num_contact = 14.1,
sd_num_contact = 69.6,
infect_duration = 1,
prob_transmission = 1,
age_range = c(16, 74)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.