crps_aux_esc {SeaVal} | R Documentation |
Auxiliary function for calculating crps with ensemble size correction by Ferro et al. 2008.
Description
Mostly copy-paste from scoringRules::crps_edf
. Adjusted to the data table format, where the observation is a vector of the same length as the ensemble forecast,
but is just repeated (which is why only y[1]
) is used.
Usage
crps_aux_esc(y, dat)
Arguments
y |
vector of length m with m identical entries, the observation |
dat |
vector of length m containing the m ensemble forecasts |
[Package SeaVal version 1.2.0 Index]