fh11: Function to return the FH11 hydrologic indicator statistic...

Description Usage Arguments Value Examples

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

Description

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).

Usage

1
  fh11(qfiletempf, thresh, pref = "mean")

Arguments

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

Value

fh11 numeric containing FH11 for the given data frame

Examples

1
2
3
4
5
qfiletempf<-sampleData
sites<-"02178400"
peakValues<-getPeakData(sites)
thresh<-1158.495
fh11(qfiletempf,thresh)

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