compare_au: Compare model estimates for Australia

Description Usage Arguments Details Value

Description

Compare model estimates generated for Australia by this study to model estimates in the Australian National Geofabric by producing comparative histograms and statistics.

Usage

1
compare_au(inp_resdir, in_rivpred, predcol, binarg)

Arguments

inp_resdir

(character) full path to directory containing formatted network and basins data for Australia.

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.

Details

this function is used to produce Extended Data Figure 5 in Main Text from Messager et al. (2021). Only rivers and stream segments with a drainage area >= 10 km2 are included in the comparison.

Value

list with two elements: *"plot": histogram comparing estimated prevalence of flow intermittence and total river length across discharge size classes. *"data": summary comparison statistics.


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