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