QMEDPOT | R Documentation |
Estimates the median annual maximum flow (QMED) from peaks over threshold data
QMEDPOT(x, ppy)
x |
numerical vector. POT data |
ppy |
number of peaks per year in the POT data |
If there are multiple peaks per year, the peaks per year (ppy) argument is used to convert to the annual scale to derive QMED. If ppy is one, then the median of the POT sample is returned (the median of x).
Anthony Hammond
#Extract some POT data and estimate QMED
ThamesPOT <- POTextract(ThamesPQ[,c(1,3)], thresh = 0.90)
QMEDPOT(ThamesPOT$peak, ppy = 1.867263)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.