Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/tl4.R View source: R/tl4.R
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).
1 | tl4(qfiletempf, thresh)
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
thresh |
value containing the 5-year recurrence value for the site |
tl4 numeric containing TL4 for the given data frame
1 2 | qfiletempf<-sampleData
tl4(qfiletempf, 1161.38)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.