Description Usage Arguments Value
View source: R/evaluation_functions.R
Calculate average sharpness for central intervals from 10 oriented (smaller is better).
1 | interval_width(fc, sun_up, intervals = seq(0.1, 0.9, by = 0.1))
|
fc |
A [valid time x quantile] matrix of probabilistic quantile forecasts, with column names giving the [0,1] percentiles of the forecast |
sun_up |
Logical vector of whether sun is up across the forecast times |
intervals |
A vector of central intervals in (0,1) whose widths should be calculated. Should correspond to available percentile columns in fc. |
a list of the intervals and their average widths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.