GumbelEst | R Documentation |
Estimated quantiles as function of return period (RP) and vice versa, from user input parameters
GumbelEst(loc, scale, q = NULL, RP = 100)
loc |
location parameter |
scale |
scale parameter |
q |
quantile. magnitude of the variable under consideration |
RP |
return period |
If the argument q is used, it overrides RP and provides RP as a function of q (magnitude of variable) as opposed to q as a function of RP.
quantile as a function of RP or vice versa
Anthony Hammond
#Get an annual maximum sample, estimate the parameters and estimate 50-year RP
AM.27090 <- GetAM(27090)
Pars <- as.numeric(GumbelPars(AM.27090$Flow))
GumbelEst(Pars[1], Pars[2], RP = 50)
#Estimate the RP for a 600m3/s discharge
GumbelEst(Pars[1], Pars[2], q = 600)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.