GEVEst: Generalised extreme value distribution estimates from...

Description Usage Arguments Details Value Author(s) Examples

View source: R/All.R

Description

Estimated quantiles as function of return period (RP) and vice versa, from user input parameters

Usage

1
GEVEst(loc, scale, shape, q = NULL, RP = 100)

Arguments

loc

location parameter

scale

scale parameter

shape

shape parameter

q

quantile. magnitude of the variable under consideration

RP

return period

Details

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.

Value

quantile as a function of RP or vice versa

Author(s)

Anthony Hammond

Examples

1
2
3
4
5
6
7
8
9
#Get an annual maximum sample, estimate the parameters and estimate 50-year RP
AM.27090 <- GetAM(27090)
GEVPars(AM.27090$Flow)
#Store parameters in an object
Pars <- as.numeric(GEVPars(AM.27090$Flow))
#get estimate of 50-yr flow
GEVEst(Pars[1], Pars[2], Pars[3], RP = 50)
#Estimate the RP for a 600m3/s discharge
GEVEst(Pars[1], Pars[2], Pars[3], q = 600)

UKFE documentation built on Jan. 27, 2022, 5:07 p.m.

Related to GEVEst in UKFE...