total_time_below_threshold: Total Time Below Threshold

Description Usage Arguments Value Examples

Description

Compute the total amount of time that flow is at or below a given threshold.

Usage

1

Arguments

ts

A time series of class xts.

lt

The lower flow threshold.

which

Logical: If TRUE, return the index locations of the low flow records.

Value

The total amount of time that flow is at or below the threshold, in a format dependent on the value of index(ts).

Examples

1
2
3
data(siouxcity)
total_time_below_threshold(siouxcity['2007-06/2008-06'], 15000)
total_time_below_threshold(siouxcity['2007-06/2008-06'], 15000, which = TRUE)

mkoohafkan/flowregime documentation built on May 23, 2019, 2:02 a.m.