calculate_summaries {AMISforInfectiousDiseases} | R Documentation |
Calculate summaries of weighted statistics
Description
Calculate summaries of weighted statistics
Usage
calculate_summaries(
x,
what = "prev",
time = 1,
locations = NULL,
alpha = 0.05,
exceedance_prob_threshold = 0.35
)
Arguments
x |
The output from the function |
what |
What statistic should be calculated the summaries from.
It must be either |
time |
Time point. Only used if |
locations |
Integer vector or location names identifying locations where summaries should be calculated for. If not specified, summary statistics of all locations will be provided. |
alpha |
Numeric value between 0 and 1. Calculations are for the |
exceedance_prob_threshold |
Numeric value. Default to |
Details
For illustrative examples, see amis()
.
Value
A list with mean, median, and quantiles of the weighted distribution.