Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/ta3.R View source: R/ta3.R
This function accepts a data frame that contains a column named "discharge" and threshold value obtained using the peakdata and peakthresh functions and calculates TA3; Seasonal predictability of flooding. Divide years up into 2-month periods (that is, Oct-Nov, Dec-Jan, and so forth). Count the number of flood days (flow events with flows > 1.67-year flood) in each period over the entire flow record. TA3 is the maximum number of flood days in any one period divided by the total number of flood days (dimensionless-temporal).
1 | ta3(qfiletempf, thresh)
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
thresh |
numeric containing 1.67-year flood threshold calculated by getPeakThresh |
ta3 numeric containing TA3 for the given data frame
1 2 | qfiletempf<-sampleData
ta3(qfiletempf, 1158)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.