Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/th3.R View source: R/th3.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 TH3; Seasonal predictability of nonflooding. Computed as the maximum proportion of a 365-day year that the flow is less than the 1.67-year flood threshold and also occurs in all years. Accumulate nonflood days that span all years. TH3 is maximum length of those flood-free periods divided by 365 (dimensionless-spatial).
1 | th3(qfiletempf, thresh)
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
thresh |
numeric containing 1.67-year flood threshold calculated by getPeakThresh |
tl4 numeric containing TH3 for the given data frame
1 2 | qfiletempf<-sampleData
th3(qfiletempf, 1158)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.