.estimate_Re_EpiEstim_piecewise_constant | R Documentation |
This function returns piecewise-constant Re estimates.
.estimate_Re_EpiEstim_piecewise_constant(
incidence_input,
import_incidence_input = NULL,
minimum_cumul_incidence = 12,
interval_ends = NULL,
interval_length = 7,
mean_serial_interval = 4.8,
std_serial_interval = 2.3,
mean_Re_prior = 1,
output_HPD = FALSE
)
incidence_input |
Module input object. List with two elements:
|
import_incidence_input |
NULL or module input object. List with two elements:
If not NULL, this data represents recorded imported cases.
And then |
minimum_cumul_incidence |
Numeric value.
Minimum number of cumulated infections before starting the Re estimation.
Default is |
interval_ends |
Use with |
interval_length |
Use with |
mean_serial_interval |
Numeric positive value. |
std_serial_interval |
Numeric positive value. |
mean_Re_prior |
Numeric positive value. |
output_HPD |
Boolean. If TRUE, return the highest posterior density interval with the output. |
If output_HPD = FALSE
,
value is a module object (a list of the same kind as incidence_input
).
The values
element of the list then contains the Re estimates.
If output_HPD = TRUE
, a list of three module objects is returned.
Re_estimate
contains the Re estimates.
Re_highHPD
and Re_lowHPD
contain
the higher and lower boundaries of the HPD interval,
as computed by estimate_R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.