#Get an annual maximum sample and estimate the 50-year RP
AM.27090 <- GetAM(27090)
GumbelAM(AM.27090$Flow, RP = 50)
#Estimate the RP for a 600m3/s discharge
GumbelAM(AM.27090$Flow, q = 600)
#Estimate the 50-year RP allowing for non-stationarity in the location parameter
GumbelAM(AM.27090$Flow, RP = 50, trend = TRUE)
Run the code above in your browser using DataLab