map_basinBACC: Map prediction performance at the basin level

Description Usage Arguments Details Value

Description

Compute the number of gauging stations, bias, residual spatial autocorrelation and balanced classification accuracy for each HydroBASIN level 3.

Usage

1
2
3
4
5
6
7
map_basinBACC(
  in_gaugepred,
  in_rivernetwork,
  inp_basin,
  outp_basinerror,
  spatial_rsp
)

Arguments

in_gaugepred

data.table of predictions for gauging stations. Output from bind_gaugepreds.

in_rivernetwork

river network with model predictions and other attributes. Output from netpredformat.

inp_basin

(character) absolute path to feature class of HydroBASINS level 3 polygons

outp_basinerror

(character) absolute path of output basin polygons with computed statistics

spatial_rsp

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

Details

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.

Value

list containing a data.table and two plots. The data.table contains an estimate


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