gggaugeIPR: Plots of Intermittence Prediction Residuals (IPR)

Description Usage Arguments Details Value

Description

Plots relating Intermittence Prediction Residuals (IPR) for gauging stations to a variety of metadata for the gauging stations including the number of years on record, the average flow intermittence duration, the aridity in the catchment of the station, etc.

Usage

1
2
3
4
5
6
7
gggaugeIPR(
  in_gpredsdt,
  in_predvars,
  spatial_rsp = FALSE,
  interthresh = 0.5,
  yearthresh
)

Arguments

in_gpredsdt

model predictions and environmental characteristics of gauging stations. Here, output from bind_gaugepreds.

in_predvars

data.table of predictor variable codes, names and attributes. Output from selectformat_predvars.

spatial_rsp

(boolean) whether to use outputs from spatial (TRUE) or non-spatial (FALSE) cross-validation.

interthresh

(numeric) flow intermittence probability threshold above which to classify records as non-perennial

yearthresh

(integer) minimum year from which to analyze/consider discharge record.

Details

this function is used to produce Extended Data Fig. 2b-e. Not all plots were used in the final figure though.

Value

gtable of plots


messamat/globalIRmap documentation built on July 4, 2021, 10:48 a.m.