calc_network_R {superspreading} | R Documentation |
Calculate the reproduction number (R
) for a (heterogeneous)
network
Description
The calculation of the reproduction number adjusting for heterogeneity in number of contacts.
Usage
calc_network_R(
mean_num_contact,
sd_num_contact,
infect_duration,
prob_transmission,
age_range
)
Arguments
mean_num_contact |
A |
sd_num_contact |
A |
infect_duration |
A |
prob_transmission |
A |
age_range |
A |
Value
A named numeric
vector of length 2, the unadjusted (R
)
and network adjusted (R_net
) estimates of R
.
Examples
# 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)
)
[Package superspreading version 0.4.0 Index]