pred_nl_par: Nonlinear

Description Usage Arguments Details Value

Description

Applies fit_nonlinear in parallel across multiple processors on one machine

Usage

1
pred_nl_par(r, rWSEw, exclude = FALSE)

Arguments

r

cross section number

rWSEw

true height and width observations data frame (probably can remove this somehow)

exclude

boolean that determines whether or not to exclude predictions from physically unrealistic model fits

Details

Loads fitted model (linear, slope break, multiple slope break, nonlinear, or nonlinear slope break) and uses it to predict hydraulic parameters error.flag values: 0 = no error, 1 = negative slope, 2 = negative concavity, 3 = no model was fit There is a problem when s is negative because the predictions at w = 0 are -Inf When there is negative concavity, the linear model is used to make predictions, instead of the nonlinear model

Value

list of z0, A, W0, and A0 predictions


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