fdc_slope: Compute the slope of the mid-segment slope of the flow...

Description Usage Arguments Details Value See Also

View source: R/flow_duration_curve.R

Description

Given two probability of streamflow exceedance (probs) which define the start and end of the mid-segment of the flow duration curve, compute the slope of the mid-segment slope of the flow duration curve.

Usage

1
fdc_slope(Q, probs = c(0.33, 0.66))

Arguments

Q

numeric vector. Streamflow values.

probs

numeric vector of length 2 containing the exceedance probabilities that define the start and end of the mid-segment of the flow duration curve.

Details

The computation of the slope is done with the following function: - (log10(Q_high) - log10(Q_low)) / diff(probs) where log10(Q_low) (resp. log10(Q_high)) is the log transformed values of streamflow corresponding to the low (resp. high) end of the mid-segment of the flow duration curve

Value

A single numeric value corresponding to the slope of the mid-segment of the flow duration curve.

See Also

fdc_percentiles and fdc_slope_percentiles


IvanHeriver/hsa-R-package documentation built on Dec. 17, 2021, 11:32 p.m.