tl4: Function to return the TL4 hydrologic indicator statistic for...

Description Usage Arguments Value Examples

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

Description

This function accepts a data frame that contains a column named "discharge" and a threshold value obtained using the peakdata and getPeakThresh functions and calculates TL4; Seasonal predictability of non-low flow. Compute the number of days that flow is above the 5-year flood threshold as the ratio of number of days to 365 or 366 (leap year) for each year. TL4 is the maximum of the yearly ratios (dimensionless-spatial).

Usage

1
  tl4(qfiletempf, thresh)

Arguments

qfiletempf

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

thresh

value containing the 5-year recurrence value for the site

Value

tl4 numeric containing TL4 for the given data frame

Examples

1
2

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