View source: R/accuracy_metrics.R
multilevel_exceedance_proba_error | R Documentation |
Multilevel version of quantile_exceedance_proba_error()
.
multilevel_exceedance_proba_error(
Probs,
proba_levels = NULL,
return_years = NULL,
type_probs = c("cdf", "exceedance"),
prefix = "",
na.rm = FALSE,
give_names = TRUE
)
Probs |
Matrix, whose columns give, for each |
proba_levels |
Vector of probability levels of the quantiles. |
return_years |
The probability levels can be given in term or return years instead.
Only used if |
type_probs |
Whether the predictions are the |
prefix |
A string prefix to add to the output's names (if |
na.rm |
A logical value indicating whether |
give_names |
Whether to name the output errors (bool). |
A vector of length length(proba_levels)
giving the quantile_exceedance_proba_error()
calibration metric of each column of Probs
at the corresponding proba_levels
.
If give_names
is TRUE
, the output vector is named paste0(prefix, "exPrErr_q", proba_levels)
(or paste0(prefix, "exPrErr_", return_years,"y")
if return_years
are given instead of proba_levels
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.