View source: R/calculate_max_min_risk.R
calculate_max_min_risk | R Documentation |
For each policy alternative, this function calculates the risk measure at the peak values (or lowest values if the threshold is a minimum).
calculate_max_min_risk(max_min_values_list, D, Dt_max = TRUE)
max_min_values_list |
A list generated by |
D |
A single threshold value |
Dt_max |
A logical value indicating whether the decision threshold
is a maximum ( |
A list of risk measure values.
tmin <- "2021-01-01"
tmax <- "2021-04-10"
D <- 750
peak_values_list <- get_max_min_values(
psa_data,
tmin = tmin,
tmax = tmax,
Dt_max = TRUE
)
calculate_max_min_risk(
peak_values_list,
D = D,
Dt_max = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.