Description Usage Arguments Details
View source: R/interpretation_processing.R
Given an aggregate curve, a range of dates and the total area under the curve compute a vector of probabilities so that each element reflects the probability that infection occurred on a specific day.
1 2 3 4 5 6 7 8 9 | compute_daily_grid(
agg_fun,
tauc,
range_start,
range_end,
end_mass_thresh = 1/1e+10,
max_days_extend = 100,
expansion_size = 20
)
|
agg_fun |
The aggregate curve associated with the ihist of interest as computed by construct_aggregate_interpreter. |
tauc |
The total area under the aggregate curve. |
range_start |
The start of the range over which daily probabilities should be computed. |
range_end |
The end of the range over which daily probabilities should be computed. |
If the amount of mass in the first (last) of the daily intervals exceeds the end_mass_thresh value, then another expansion_size daily blocks will be added to the front (back) of the interval until either the first (last) interval's mass no longer exceeds the end_mass_thresh value, or more than max_days_extend days was added to the interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.