This function accepts a data frame that contains a column named "discharge" and calculates MH22, high flow volume. Compute the average volume for flow events above a threshold equal to three times the median flow for the entire record. MH22 is the average volume divided by the median flow for the entire record (days-temporal).
data frame containing a "discharge" column containing daily flow values
mh22 numeric value of MH22 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.