Learn R Programming

evd (version 1.2-3)

plot.bvevd: Plot Diagnostics for a Bivariate evd Object

Description

Four plots (selectable by which) are currently provided: two conditional P-P plots (conditioning on each margin), a density plot and a dependence function plot. Plot diagnostics for the generalized extreme value margins (selectable by mar and which) are also provided.

Usage

## S3 method for class 'bvevd':
plot(x, mar = 0, which = 1:4, main = c("Conditional Plot One", 
    "Conditional Plot Two", "Density Plot", "Dependence Function"), 
    ask = nb.fig < length(which) && dev.interactive(), ci = TRUE, 
    jitter = FALSE, nplty = 2, method = "cfg", modify = 0,
    wf = function(t) t, ...)

Arguments

x
An object of class "bvevd".
mar
If mar = 1 or mar = 2 diagnostics are given for the first or second genereralized extreme value margin. The values of the remaining parameters are then passed to the plot method
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 conditional P-P plots.
jitter
Argument for the density plot. See bvdens for details.
nplty,method,modify,wf
Arguments to the dependence function plot. See bvdp for details.
...
Other arguments to be passed through to plotting functions.

Details

The plot method calls the functions bvcpp, bvdens and bvdp.

See Also

bvcpp, bvdens, bvdp, plot.evd

Examples

Run this code
bvdata <- rbvlog(100, dep = 0.6)
M1 <- fbvlog(bvdata)
plot(M1)
plot(M1, mar = 1)
plot(M1, mar = 2)

Run the code above in your browser using DataLab