stability_test: Test the model stability: It plots the output of 1....

Description Usage Arguments Value Source See Also

View source: R/stability_test.R

Description

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

Usage

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")
)

Arguments

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").

Value

a plot with the empirical return values of the pooled ensemble including confidence intervals. Individual lead times are plotted on top.

Source

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

See Also

[Model_stability_density()] [Model_stability_boot()]d


timokelder/UNSEEN documentation built on June 1, 2021, 2:30 a.m.