plot.gpd {evir} | R Documentation |
Plot Fitted GPD Model
Description
The plot method plot.gpd provides four different plots for assessing fitted GPD model. The user selects the plot type from a menu. See the examples below.
Usage
## S3 method for class 'gpd'
plot(x, optlog = NA, extend = 1.5, labels = TRUE, ...)
Arguments
x |
a |
optlog |
optional argument for plots 1 and 2 giving a
particular choice of logarithmic axes: |
extend |
optional argument for plots 1 and 2 expressing how far x-axis should extend as a multiple of the largest data value. This argument must take values greater than 1 and is useful for showing estimated quantiles beyond data. |
labels |
optional argument for plots 1 and 2 specifying whether or not axes should be labelled |
... |
other graphics parameters |
Value
If plot 1 or 2 is selected as the final plot, a list object containing
details of the plot is returned invisibly.
This object should be used as the first argument of gpd.q
or gpd.sfall
to add quantile estimates or expected shortfall
estimates to the plot.
See Also
Examples
data(danish)
out <- gpd(danish, 10)
## Not run: plot(out)
## Not run: Make a plot selection (or 0 to exit):
## Not run: 1: plot: Excess Distribution
## Not run: 2: plot: Tail of Underlying Distribution
## Not run: 3: plot: Scatterplot of Residuals
## Not run: 4: plot: QQplot of Residuals