ml22: Function to return the ML22 hydrologic indicator statistic...

Description Usage Arguments Value Examples

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

Description

This function accepts a data frame that contains columns named "discharge" and "year_val" and a numeric drainage area and calculates ML22, specific mean annual minimum flow. ML22 is the mean (or median-Use Preference option) of the annual minimum flows divided by the drainage area (cubic feet per second/square mile-temporal).

Usage

1
  ml22(x, drainarea, pref = "mean")

Arguments

x

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

pref

string containing a "mean" or "median" preference

drainarea

numeric value of the drainage area for a given site

Value

ml22 numeric value of ML22 for the given data frame

Examples

1
2
3
qfiletempf<-sampleData
drainarea<-56.5
ml22(qfiletempf,drainarea)

jlthomps/EflowStats documentation built on May 17, 2017, 11:26 p.m.