dh24: Function to return the DH24 hydrologic indicator statistic...

Description Usage Arguments Value Examples

View source: R/RProjects/HITHATStats/R/dh24.R View source: R/dh24.R

Description

This function accepts a data frame that contains a column named "discharge" and a threshold value obtained using the peakdata and peakthresh functions and calculates DH24; Flood-free days. Compute the flood threshold as the flow equivalent for a flood recurrence of 1.67 years. Compute the maximum number of days that the flow is below the threshold for each year. DH24 is the mean (or median-Use Preference option) of the maximum yearly no-flood days (days-temporal).

Usage

1
  dh24(qfiletempf, thresh)

Arguments

qfiletempf

data frame containing a "discharge" column containing daily flow values

thresh

numeric containing 1.67-year flood threshold calculated by getPeakThresh

Value

dh24 numeric containing DH24 for the given data frame

Examples

1
2

jlthomps/EflowStats documentation built on May 19, 2019, 12:48 p.m.