Description Usage Arguments Details Value
Compare model estimates generated for mainland France by this study to model estimates generated by Snelder et al. (2013) by producing comparative histograms and statistics.
1 | compare_fr(inp_frdir, in_rivpred, predcol, binarg, mincutoff)
|
inp_frdir |
(character) full path to directory containing formatted network and basins for France. |
in_rivpred |
data.table of model predictions for global river network. Here, output from netpredformat. |
predcol |
(character) name of the column for the predicted probability of flow intermittence generated by this study (Messager et al. 2021). |
binarg |
(numeric) limits of the mean annual flow bins across which to compare estimates (and for plotting histogram). See bin_dt. |
mincutoff |
(numeric) smallest river reaches to include in comparison, in terms of long-term mean annual flow (m3/s; e.g., 0.1) |
this function is used to produce Extended Data Figure 5 in Main Text from Messager et al. (2021).
list with two elements: *"plot": histogram comparing estimated prevalence of flow intermittence and total river length across discharge size classes. *"data": summary comparison statistics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.