Description Usage Arguments Details
View source: R/result_interpretation.R
Because the duration of the trial is long and often the region in which the infection could plausibly have happened is small, the integratoin functions often produces zero. Since we know that any aggregate function that produces a probable infection interval shorted than 1 day is problematic, we can devise an easy scheme to remove large chunks from the range where the interpreter function is zero.
1 | trim_range(fun, range_start, range_end, tol = 0)
|
fun |
The function that will dictate which portions of the range will get trimmed. |
range_start |
The lower bound of the initial range. |
range_end |
The upper bound of the initial range. |
tol |
How close to zero before we consider it equal to zero? Default = 0. |
Simply walk from the start to end in one day increments, if the likelihood is still zero, adjust the range_start to the current day. Likewise from range_end.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.