This function accepts a data frame that contains columns named "discharge", "year_val" and "month_val" and calculates MH13, variability (coefficient of variation) across maximum monthly flow values. Compute the mean and standard deviation for the maximum monthly flows over the entire flow record. MH13 is the standard deviation times 100 divided by the mean maximum monthly flow for all years (percent-spatial).
data frame containing a "discharge" column containing daily flow values
mh13 numeric value of MH13 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.