Description Usage Arguments Value
This function formats and returns the appropriate JAGS model according to the details of the estimation desired, i.e. whether the infection times or symptom times are used, whether a delay adjustment is desired, whether missing values exist in the symptom onset dates vector, and whether we work only with symptom onset dates and not diagnosis dates.
1 2 3 4 5 6 |
withInfectTimes |
Use extrapolated infection times for estimating R. |
delayAdjust |
Make a delay adjustment, based on the distribution of times from symptom onset to diagnosis, or infection to diagnosis. |
withMissing |
Does the symptom onset dates vector contain missing values? If so, dates of diagnosis should also be supplied. |
single |
Do we work only with symptom onset dates? (No diagnosis
dates). If |
An character vector of length 1, containing the JAGS model to use
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.