baseflow_regime_magnitude: Compute the baseflow regime magnitude

Description Usage Arguments Details Value See Also

View source: R/baseflow.R

Description

Compute the baseflow magnitude i.e. the relative difference between the maxima and minima of the 'n'-days smoothed inter-annual daily average of the baseflow time series

Usage

1
baseflow_regime_magnitude(Qbf, hdays, n = 1)

Arguments

Qbf

numeric vector. Baseflow vector.

hdays

numeric vector. Days of the (hydrological) year. see get_hydro_years_seasons() function.

n

integer. Window size for the rolling mean function

Details

A length 3-vector is return with the min and the max in second and third position respectively

Value

A length 3-vector is return with the baseflow regime magnitude, the min and the max of the baseflow regime

See Also

baseflow_regime


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