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