Tests whether residual counts at various Z-value thresholds follow expected binomial distributions.
ResTest(
ResTab,
TestCols = c("WRES", "CWRE", "IWRE"),
ZVals = c(0, 1, 2, 3),
PctVals = c(0.005, 0.01, 0.025, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5)
)matrix of test results
data.frame with residual columns
character vector of column names to test
numeric vector of Z-value thresholds
numeric vector of percentile values