calc_A0_prediction_error: Calculate submerged area prediction error

Description Usage Arguments Details Examples

Description

Calculates submerged area prediction error, either absolute or as a fraction of bankfull flow area

Usage

1
calc_A0_prediction_error(pred, truth, A = NULL, type)

Arguments

pred

minimum bed elevation z0 predictions

truth

true minimum bed elevation

A

bankfull flow area

type

can be "absolute" or "relative1" or "relative2"

Details

relative1 uses A for the denominator, but relative2 uses A0 for the denominator

Examples

1
2
A0.l.error.abs <- calc_A0_prediction_error(A0.l, A0.true.ra, type = "absolute")
A0.l.error.rel <- calc_A0_prediction_error(pred = A0.l, truth = A0.true.ra, A = A.true.ra, type = "relative1")

jschap1/WSEw documentation built on May 12, 2019, 10:50 a.m.