Description Usage Arguments Value Source See Also
View source: R/stability_test.R
Test the model stability: It plots the output of 1. Model_stability_density(): a density plot and 2. Model_stability_boot(): an empirical extreme value plot
1 2 3 4 5 6 7 8 | stability_test(
ensemble,
var_name = "tprate",
ld_name = "leadtime",
lab = var_name,
fontsize = 11,
panel_labels = c("a", "b")
)
|
ensemble |
The UNSEEN ensemble. This function expects an dataframe with variables leadtime, precipitation. |
var_name |
The column name containing the variable to be analyzed. Defaults to "tprate". |
ld_name |
The column name containing the leadtimes. Defaults to "leadtime". |
lab |
The variable name plotted as x-label (first panel) and y-label (second panel). Defaults to the variable name (var_name). |
fontsize |
The font size. Defaults to 11. |
panel_labels |
The panel labels. Defaults to c("a", "b"). |
a plot with the empirical return values of the pooled ensemble including confidence intervals. Individual lead times are plotted on top.
Evaluation explaned in more detail in Kelder et al. 2020
Colorblind friendly palette http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/#a-colorblind-friendly-palette
[Model_stability_density()] [Model_stability_boot()]d
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.