Calculation of QMNA according to a return period. An adjustment to a Galton distribution (log-normal distribution) is realised.
Usage
calcQMNAn(x, return_period)
# S3 method for QMNA
calcQMNAn(x, return_period)
# S3 method for data.frame
calcQMNAn(x, return_period)
calcQMNA2(x)
calcQMNA5(x)
calcQMNA10(x)
Arguments
- x
data.frame of flows (the first column should be a POSIXct), or a
QMNA
object (See calcQMNA)- return_period
numeric number of years
Value
numeric QMNA for the given return period
Details
Functions named calcQJMNA_[return_period] are also defined for commun indicators (2, 5, 10 years).
Examples
#! load data
data(L0123001, package = "airGR")
dfQ <- data.frame(DatesR = BasinObs$DatesR, Q = BasinObs$Qls / 1000)
calcQMNAn(dfQ, 5)
#> Q
#> 0.5001499