mh19: Function to return the MH19 hydrologic indicator statistic...

Description Usage Arguments Value Examples

View source: R/mh19.R View source: R/RProjects/HITHATStats/R/mh19.R

Description

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

Usage

1
  mh19(x)

Arguments

x

data frame containing a "discharge" column containing daily flow values

Value

mh19 numeric value of MH19 for the given data frame

Examples

1
2

jlthomps/EflowStats documentation built on May 19, 2019, 12:48 p.m.