Description Usage Arguments Value Source
View source: R/stability_test.R
We plot the density distribution of the different leadtimes using ggplot. We want to show the confidence interval of the distribution of all lead times pooled together, and test whether the individual lead times fall within these confidence intervals. Therefore we bootstrap the pooled leadtimes into series with equal length of the individual leadtimes (875), with n=10000.
1 2 3 4 5 6 7 | Model_stability_boot(
ensemble,
var_name = "tprate",
ld_name = "leadtime",
lab = var_name,
fontsize = 11
)
|
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 y-label. Defaults to the variable name (var_name). |
fontsize |
The font size. Defaults to 11. |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.