Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/mh20.R View source: R/mh20.R
This function accepts a data frame that contains columns named "discharge" and "year_val" and calculates MH20, specific mean annual maximum flow. MH20 is the mean (or median-Use Preference option) of the annual maximum flows divided by the drainage area (cubic feet per second/square mile-temporal).
1 | mh20(x, drainarea, pref = "mean")
|
x |
data frame containing a "discharge" column containing daily flow values |
drainarea |
numeric value of drainage area for a site |
pref |
string containing a "mean" or "median" preference |
mh20 numeric value of MH20 for the given data frame
1 2 3 | qfiletempf<-sampleData
drainarea<-56.5
mh20(qfiletempf,drainarea)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.