Description Usage Arguments Value See Also
Simulate the epidemic with in a household
1 2 3 4 5 6 7 8 9 10 11 12 13 | simulate_household(
seed = -1,
adults,
childs,
first.is.adult,
beta_cc,
beta_ca,
beta_ac,
beta_aa,
P = NULL,
T_max = 45,
ssn = 1000
)
|
seed |
seed for the simulation |
adults |
number of adults in the household |
childs |
number of children in the household |
first.is.adult |
is indicator and is TRUE if the index case is adult and FALSE otherwise |
beta_cc |
proabilty that a child will infect a child |
beta_ca |
proabilty that an adult will infect a child |
beta_ac |
proabilty that a child will infect an adult |
beta_aa |
proabilty that an adult will infect an adult |
P |
a vector of generation time distribution (default is generated by load_P) |
T_max |
the length of the epidemic within the family |
ssn |
the number of households to simuluate |
a tibble with the epidemic development over time by day
load_P
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.