dl4: Function to return the DL4 hydrologic indicator statistic for...

Description Usage Arguments Value Examples

View source: R/standalone_scripts/stats_observed.r View source: R/standalone_scripts/stats_compare_wps.r View source: R/dl4.R View source: R/RProjects/HITHATStats/R/dl4.R

Description

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

Usage

1
  dl4(qfiletempf, pref = "mean")

Arguments

qfiletempf

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

pref

string containing a "mean" or "median" preference

Value

dl4 numeric containing DL4 for the given data frame

Examples

1
2

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