tq_slopes: Compute the temperature-streamflow regime cycle slopes

Description Usage Arguments Value References See Also

View source: R/tq_regime_signatures.R

Description

Compute slopes (and intercepts) of each periods from the air temperature - streamflow regime cycle using the periods defined in a list of indices vectors (see tq_periods())

Usage

1
tq_slopes(T, Q, indices)

Arguments

T

numeric vector. air temperature regime (365 or 366 values)

Q

numeric vector. streamflow regime (365 or 366 values)

indices

list. list of length 'n' containing the vectors of indices defining the different period to use to compute the slopes/intercept in T = b + slp * Q

Value

A matrix with 'n' rows (the different periods) and 2 columns: 'intercept' and 'slope'

References

I. Horner, F. Branger, H. McMillan, O. Vannier, and I. Braud, “Information content of snow hydrological signatures based on streamflow, precipitation and air temperature,” Hydrological Processes, vol. 34, no. 12, Art. no. 12, 2020, doi: 10.1002/hyp.13762.

See Also

tq_periods


IvanHeriver/hsa-R-package documentation built on Dec. 17, 2021, 11:32 p.m.