ml20: Function to return the ML20 hydrologic indicator statistic...

Description Usage Arguments Value Examples

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

Description

This function accepts a data frame that contains a column named "discharge" and calculates base flow index ML20. Divide the daily flow record into 5-day blocks. Find the minimum flow for each block. Assign the minimum flow as a base flow for that block if 90 percent of that minimum flow is less than the minimum flows for the blocks on either side. Otherwise, set it to zero. Fill in the zero values using linear interpolation. Compute the total flow for the entire record and the total base flow for the entire record. ML20 is the ratio of total base flow to total flow (dimensionless-spatial).

Usage

1
  ml20(x)

Arguments

x

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

Value

ml20 numeric value of ML20 for the given data frame

Examples

1
2

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