Description Usage Arguments Value See Also
For each family type and duration calculates the distribution on the number of positives
1 2 3 4 5 6 7 8 9 10 11 | family_dictionary(
seed = -1,
family_structure_data,
beta_cc,
beta_ac,
beta_ca,
beta_aa,
P = NULL,
T_max = 45,
ssn = 1000
)
|
seed |
seed for the simulation |
family_structure_data |
dataset of families including the number of adults, number of children, and the index case (see |
beta_cc |
proabilty that a child will infect a child |
beta_ac |
proabilty that a child will infect an adult |
beta_ca |
proabilty that an adult will infect a child |
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 prabaility to see number of positive adults and number of postive children as a function of the duration and the index case
load_P
create_family_structure_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.