tfc_from_efc | R Documentation |
The function takes a data table containing ensemble predictions and reduces it to predicted tercile probabilities.
The data table should either have a column 'tercile_cat' or it will be generated in the process (by add_tercile_cat
).
In particular, if you don't know the tercile category of the ensemble predictions, your data table should contain hindcasts as well,
such that the tercile categories are calculated correctly.
The probability for 'below', for example, is the fraction of ensemble members predicting below normal (for this coordinate).
tfc_from_efc(dt, by = setdiff(dimvars(dt), "member"), keep_cols = NULL, ...)
dt |
The data table. |
by |
Names of columns to group by. |
keep_cols |
A vector of column names that you want to keep. Column names in by are kept automatically. |
... |
passed on to |
A new data table with tercile forecasts
test_dt = ecmwf_monthly[lat < 0 & month == 11]
tfc = tfc_from_efc(test_dt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.