Description Usage Arguments Examples
Plots the empirical mean residual life, with confidence intervals. The mean residual life plot provides a visual diagnostic tool to choose a threshold for exceedances.
1 |
data |
Vector of data. |
thresholds |
A numeric vector of threshold(s) to plot vertically. Defaults to NULL. |
conf |
The level of the confidence bounds to use. Defaults to 0.95. |
npoints |
The number of points to interpolate with. Defaults to 100. |
1 2 3 | ## Not run
## x <- rgpd(500, loc = 0, scale = 1, shape = 0.1)
## mrlPlot(x, thresholds = c(2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.