test_slope_break: Slope Break Test

Description Usage Arguments Value

Description

Tests whether there is an "optimal location" for the slope break method, as described by Mersel et al. (2013)

Usage

1
test_slope_break(WSE, w, thres = 0.015, window = 4, m = FALSE)

Arguments

WSE

water surface elevation

w

flow width

thres

threshold for maxdiff in slope for the WSE-w relationship to be considered linear

window

averaging window, see Mersel et al. (2013)

m

flag for multiple slope breaks

Value

If it is an optimal location, returns the slope break location. Otherwise returns NULL.


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