Description Usage Arguments Value Examples
Compute the time for flow to rise up to or above a given threshold.
1 | time_to_rise(ts, ut, lt, which = FALSE)
|
ts |
A time series of class |
ut |
The upper flow threshold for which the time to rise is computed. If omitted, the maximum flow of the series is used. |
lt |
The lower flow threshold from which to start computing the time to rise. If omitted, the minimum flow of the series is used. |
which |
Logical: If |
The time to rise, in a format dependent on the value of
index(ts)
.
1 2 3 4 | data(siouxcity)
time_to_rise(siouxcity['2011'])
time_to_rise(siouxcity['2011'], which = TRUE)
time_to_rise(siouxcity['2011'], lt = 70000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.