Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/fh11.R View source: R/fh11.R
This function accepts a data frame that contains a column named "discharge" and a threshold value calculated for the site using the peakdata and peakthresh functions and calculates FH11; Flood frequency. Compute the average number of flow events with flows above a threshold equal to flow corresponding to a 1.67-year recurrence interval. FH11 is the average (or median-Use Preference option) number of events (number of events/year-temporal).
1 | fh11(qfiletempf, thresh, pref = "mean")
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
thresh |
numeric containing 1.67-year flood threshold calculated by getPeakThresh |
pref |
string containing a "mean" or "median" preference |
fh11 numeric containing FH11 for the given data frame
1 2 3 4 5 | qfiletempf<-sampleData
sites<-"02178400"
peakValues<-getPeakData(sites)
thresh<-1158.495
fh11(qfiletempf,thresh)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.