mrlPlot: Mean residual life plot
Description
Produce a mean residual life plot to aid identifying a threshold over which
to fit a generalized Pareto distributionUsage
mrlPlot(data, umin = min(data), umax = max(data) - 0.1, conf = 0.95, nint = 100, ...)
Arguments
umin
The minimum value over which to threshold the data.
umax
The maximum value over which to threshold the data.
conf
The coverage of confidence interval to plot. Defaults to
plotting a 95% interval.
nint
The number of points at which to compute the plot.
...
Optional arguments to plot
Details
The function was originally written by Janet E Heffernan and appears in
the ismev
package. This version modified by Harry Southworth to
allow more control over the appearance of the plot.