Description Usage Arguments Value Examples
View source: R/sutherland_trans_params.R
Estimate Transmission chain parameters using Sutherland et al.s Approach
1 2 3 | sutherland_trans_params(Annual.TB.Decrease.Yearly = TB_decrease_as_matrix(sutherland_TB_decrease),
Sym.Lag = sutherland_gen_time, Sutherland = TRUE, Repro.No = NULL,
Cohort.Length = 5, update_chains = FALSE)
|
Annual.TB.Decrease.Yearly |
Matrix of average yearly decreases in TB with each column representing an age group (15-19, 20-24, 25-29).
Row names must be the year, starting from |
Sym.Lag |
Numeric, the generation time between infection and symtoms. Must be smaller or equal to the |
Sutherland |
Logical, defaults to |
Repro.No |
If |
Cohort.Length |
Numeric, the lengh of time spent in each cohort, defaults to 5 years as in Sutherland et al. |
update_chains |
Logical, defaults to |
A dlist containing the expected total secondary notifications (Expected.Total.Sec.Note), the size of the first generation (Size.First.Gen) and the average interval to all secondary cases (Avg.Int.All.Sec).
1 2 3 4 5 | # Orginal model
sutherland_trans_params()
# Updated model
sutherland_trans_params(update_chains = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.