Description Usage Arguments Value Examples
If tstart is provided than you can supply a list of ape::phylo trees instead of treedater trees
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
tds |
A list or multiPhylo, containing ape::phylo or treedater trees |
X |
A data frame with covariate data, must include numeric column 'time' |
formula |
Specify the relationship between Change in growth rate and covariates. Should have empty lhs and only specify rhs |
tstart |
A numeric time to consider as the beginning of the epidemic in region; for best results, select a time when exponential growth in region is well underway. Can be NULL in which case the sarscov2::timports function is used to guess an appropriate date |
tau0 |
Precision parameter for skygrowth. Default value corresponds to 1 per cent change in growth per week |
numpb |
Number of parametric bootstrap to use if using timports |
ncpu |
Number CPUs to use |
gamma1 |
Death/recovery rates used for translating growth rates into R(t) |
... |
Additional arguments passed to skygrowth (eg mhsteps) |
see |
skygrowth, if omitted will guess a good value |
A list with dataframes for Ne, growth, and R(t)
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.