jitter_fcst | R Documentation |
To account for observation errors in ensemble verification the forecast values can be perturbed by sampling from a specified error distribution. Jittering the forecast is only likely to have an effect on the ensemble spread and rank histograms.
jitter_fcst(.fcst, jitter_function, fcst_suffix = "_mbr")
.fcst |
An object of class 'harp_fcst'. |
jitter_function |
The function to be applied to the forecast values. |
fcst_suffix |
The suffix that identifies forecast values in the harp_fcst object. This will normally be "_mbr". |
Note that the function is applied rowwise so for sampling functions n should always be 1.
An object of class harp_fcst with jittered forecast values.
jitter_fcst(fcst, function(x) x + rnorm(1, ))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.