This function accepts a data frame that contains a column named "discharge" and calculates MH27, high peak flow. Compute the average peak flow value for flow events above a threshold equal to 75th percentile value for the entire flow record. MH27 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
mh27 numeric value of MH27 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.