Description Usage Arguments Details Value
Make two maps of streamflow gauging stations used in model training and testing. One map of perennial stations and the other one of non-perennial stations.
1 | gggauges(in_gaugepred, in_basemaps, binarg, binvar)
|
in_gaugepred |
data.table of predictions for gauging stations. Output from bind_gaugepreds. |
in_basemaps |
list of basemaps sf objects. |
binarg |
(vector) inner bin breaks to plot histogram for gauging stations. |
binvar |
(character) column to plot histogram of gauging stations with |
The maps include a histogram of streamflow record duration in each map. binarg c(30, 60, 100) is supplied to show four bins in the histogram (10-30, 30-60, 60-100, >100).
This function was used to produce the data underlying Figure 3 of the Main Text of Messager et al. 2021. see test_joincount for more details on the procedure for testing spatial autocorrelation.
ggplot (patchwork)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.