Description Usage Arguments Value Examples
View source: R/get_threshold.R
Get the contact rate fraction threshold for increases
1 2 3 4 5 6 7 8 9 | get_threshold(
obj,
iter = seq_along(obj$post$R0),
forecast_days = 25,
fs = seq(0.3, 0.8, length.out = 4),
show_plot = TRUE,
window_check = 25,
...
)
|
obj |
Output from |
iter |
Vector of MCMC iterations to work with. More iterations will be slower and not necessarily render a different result. ~200 total iterations may be plenty. |
forecast_days |
Days to use in forecast. |
fs |
Contact rate fractions to test. |
show_plot |
Make a diagnostic plot? |
window_check |
The window of days to use from the last day forecasted. |
... |
Other arguments for |
The threshold value.
1 | # See ?project_seir
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.