mct_inflexionpoints: Compute the inflexion point of the streamflow mass curve

Description Usage Arguments Value See Also

View source: R/mct_approach.R

Description

From a streamflow regime vector Qr (i.e. a inter-annual average of streamflow for each calendar day), it searches for the inflexion points in a given time window p. This functions (1) computes the derivative of Qr, (2) and smooth it using a rolling mean with a window n.

Usage

1
2
3
4
5
6
mct_inflexionpoints(
  Qcum,
  periods = c(100, 300),
  n = 30L,
  return_derivative = FALSE
)

Arguments

Qcum

numeric vector. Cumulative streamflow regime vector.

Value

If return_derivative is TRUE, a list with 3 components is returned:

See Also

mct_snowstorage


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