Description Usage Arguments Value Examples
Compute the longest continuous period during which flow is at or above a given threshold.
1 | longest_high_flow_duration(ts, ut, which = FALSE)
|
ts |
A time series of class |
ut |
The upper flow threshold used to compute duration. |
which |
Logical: If |
The duration of the longest period where flow is at
or above the threshold, in a format dependent on the value
of index(ts)
.
1 2 3 | data(siouxcity)
longest_high_flow_duration(siouxcity['2011'], 70000)
longest_high_flow_duration(siouxcity['2011'], 70000, which = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.