Skip to contents

Compute Gumbel's laws parameters

Usage

getGumbelParams(x)

Arguments

x

Maximum flow at a given time step (usually the maximum daily flow per year)

Value

A list with a the location parameter and b the scale parameter

Examples

#! load data
data(L0123001, package = "airGR")

#! define vector of flows, time step is the day
flows <- BasinObs$Qls

#! define vector of dates
dates <- BasinObs$DatesR

#! define return period
pRet <- 20

QJXA <- calcQJXA(x = dates, flows = flows)
gumbel <- getGumbelParams(QJXA)