Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/dh23.R View source: R/dh23.R
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 DH23; Flood duration. Compute the flood threshold as the flow equivalent for a flood recurrence of 1.67 years. Determine the number of days each year that the flow remains above the flood threshold. DH23 is the mean (or median-Use Preference option) of the number of flood days for years in which floods occur (days-temporal).
1 | dh23(qfiletempf, thresh)
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
thresh |
numeric containing 1.67-year flood threshold calculated by getPeakThresh |
dh23 list containing DH23 for the given data frame
1 2 | qfiletempf<-sampleData
dh23(qfiletempf, 1158)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.