dh3: Function to return the DH3 hydrologic indicator statistic for...

Description Usage Arguments Value Examples

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

Description

This function accepts a data frame that contains a column named "discharge" and calculates DH3; Annual maximum of 7-day moving average flows. Compute the maximum of a 7-day moving average flow for each year. DH3 is the mean (or median-Use Preference option) of these values (cubic feet per second-temporal).

Usage

1
  dh3(qfiletempf, pref = "mean")

Arguments

qfiletempf

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

pref

string containing a "mean" or "median" preference

Value

dh3 numeric containing DH3 for the given data frame

Examples

1
2

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