time_to_recede: Time To Recede

Description Usage Arguments Value Examples

Description

Compute the time for flow to fall down to or below a given threshold.

Usage

1

Arguments

ts

A time series of class xts.

lt

The lower flow threshold for which the time to recede is computed. If omitted, the minimum flow of the series is used.

ut

The upper flow threshold from which to start computing the time to recede. If omitted, the maximum flow of the series is used.

which

Logical: If TRUE, return the index locations of the recession limb instead of the count.

Value

The time to recede, in a format dependent on the value of index(ts).

Examples

1
2
3
4

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