climatology_threshold_exceedence | R Documentation |
The climatological prediction for exceedence probabilities is the fraction of observed years where the observation exceeded the threshold. It's calculated from leave-one-year-out climatology.
climatology_threshold_exceedence(
obs_dt,
o = "prec",
by = setdiff(dimvars(obs_dt), "year"),
thresholds = c(200, 300, 350, 400)
)
obs_dt |
Data table containing observations. |
o |
column name of the observation. Mostly observed precipitation in mm. |
by |
By which columns should be grouped? |
thresholds |
vector of thresholds for which the exceedence probabilities should be derived. |
Data table with the climatological probabilities of exceedence for the provided thresholds.
dt = climatology_threshold_exceedence(chirps_monthly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.