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