Description Usage Arguments Details Value Examples
The function approxP
interpolates and extrapolates a time
series of streamflows along a given set of quantiles from a flow duration
curve to produce streamflow probabilities.
1 | approxP(qts, fdc)
|
qts |
A numerical vector containing a time series of streamflows. Probabilities will not be estimated for non-positive values. |
fdc |
A data frame of two numerical variables. The first, |
The interpolation is accomplished by converting streamflows to the
common logarithms of streamflow and converting the probabilites to standard
normal quantlies. The approx
function is used to then linearly
interpolate the standard normal quantiles against the common logarithms of
streamflow.
Streamflows in qts
that are beyond the maximum value in fdc$q
are extrapolated by extending the line between the two greatest quantiles
of the flow duration curve.
Similarly, streamflows in qts
that are below the minimum value in
fdc$q
are extrapolated by extending the line between the two
smallest quantiles of the flow duration curve.
A list of three elements:
qts |
The input time series of streamflows. |
fdc |
The input flow duration curve, with addition of
the common logarithm of streamflow ( |
targetP |
The resulting
conversion of |
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.