Learn R Programming

evd (version 1.2-3)

plot.evd: Plot Diagnostics for an evd Object

Description

Four plots (selectable by which) are currently provided: a P-P plot, a Q-Q plot, a density plot and a return level plot.

Usage

## S3 method for class 'evd':
plot(x, which = 1:4, main = c("Probability Plot",
    "Quantile Plot", "Density Plot", "Return Level Plot"),
    ask = nb.fig < length(which) && dev.interactive(),
    ci = TRUE, adjust = 1, jitter = FALSE, nplty = 2, ...)

Arguments

x
An object of class "evd".
which
If a subset of the plots is required, specify a subset of the numbers 1:4.
main
Title of each plot.
ask
Logical; if TRUE, the user is asked before each plot.
ci
Logical; if TRUE (the default), plot simulated 95% confidence intervals for the P-P, Q-Q and return level plots.
adjust,jitter,nplty
Arguments to the density plot. See dens for details.
...
Other parameters to be passed through to plotting functions.

Details

The plot method calls the functions pp, qq, dens and rl.

See Also

dens, plot.bvevd, pp, qq, rl

Examples

Run this code
uvdata <- rgev(100, loc = 0.13, scale = 1.1, shape = 0.2)
M1 <- fgev(uvdata)
plot(M1)

Run the code above in your browser using DataLab