Learn R Programming

MCMC4Extremes (version 1.1)

plot.gpdp: Plot Fitted GPD Model

Description

The plot method plot.gpdp provides three differents plots: a histogram of the GPD parameters, a plot of predictive density resulting of posterior distribution of GPD parameters, and a return level plot of GPD distribution.

Usage

"plot"(x, type = c("histogram", "predictive", "retlevel"), t=2, k=100, ...)

Arguments

x
a gpdp object
type
which chosen plot
t
start return level
k
end return level
...
other graphics parameters

See Also

gpdp

Examples

Run this code
data(danish)
out=gpdp(danish,10,300)
## Not run: plot(out,"histogram")
## Not run: plot(out,"predictive")
plot(out,"retlevel", 10, 50)

Run the code above in your browser using DataLab