gev.fit and gpd.fit.rlplot(z, ci = 0.05, add.ci = FALSE)gev.fit or gpd.fit--attributed with the class
"gev.fit" or "gpd.fit", respectively--the return level plot is generated. Confidence bounds,
if included, are found by the delta method, which is generally appropriate for shorter return
periods, but not for longer return periods because the return level distribution is generally
skewed. Therefore, if a plot with better estimates of the confidence bounds are desired, use
add.ci=FALSE, and use the R function lines to add different bounds (e.g., using
values obtained from the gev.parameterCI or gpd.parameterCI functions).This function is simply a modification of Stuart Coles' functions gpd.rl and gev.rl (Coles, 2001).
Gilleland, Eric and Katz, Richard W. Tutorial for the 'Extremes Toolkit:
Weather and Climate Applications of Extreme Value Statistics.'
gev.parameterCI, gpd.parameterCI, gev.diag, gpd.diagdata(ftcanmax)
fit <- gev.fit( ftcanmax[,"Prec"])
class( fit) <- "gev.fit"
rlplot( fit)Run the code above in your browser using DataLab