ml17: Function to return the ML17 hydrologic indicator statistic...

Description Usage Arguments Value Examples

View source: R/RProjects/HITHATStats/R/ml17.R View source: R/ml17.R View source: R/standalone_scripts/stats_observed.r

Description

This function accepts a data frame that contains a column named "discharge" and calculates the base flow. Compute the mean annual flows. Compute the minimum of a 7-day moving average flow for each year and divide them by the mean annual flow for that year. ML17 is the mean (or median-Use Preference option) of those ratios (dimensionless-temporal).

Usage

1
  ml17(qfiletempf, pref = "mean")

Arguments

qfiletempf

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

pref

string containing a "mean" or "median" preference

Value

ml17 numeric value of ML17 for the given data frame

Examples

1
2

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