This function accepts a data frame that contains columns named "discharge" and "year_val" and calculates the skewness in annual maximum flows (dimensionless-spatial). Use the equation: MH19 numerator = N2 ? sum(qm3)-3N ? sum(qm) ? sum(qm2) + 2 ? (sum(qm))3 denominator = N ? (N-1) ? (N-2) ? stddev3 Where: N = Number of years qm = Log10 (annual maximum flows) stddev = Standard deviation of the annual maximum flows
data frame containing a "discharge" column containing daily flow values
mh19 numeric value of MH19 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.