| add_tercile_probs | R Documentation | 
Adds columns 'below', 'normal' and 'above', containing predicted tercile probabilities, to a data table with ensemble forecasts.
The predicted probability is always the fraction of members ending up in the respective tercile.
The data table should either already have a column 'tercile_cat' (added by add_tercile_cat),
or add_tercile_cat will be run first.
add_tercile_probs(dt, f = NULL, by = setdiff(dimvars(dt), "member"), ...)
| dt | the data table. | 
| f | name of the column containing the forecast. | 
| by | names of columns to group by | 
| ... | passed on to  | 
The provided data table, with added columns 'above', 'normal', and 'below'
dt = add_tercile_probs(ecmwf_monthly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.