plot.ggevp: Plot Fitted for the Dual Gamma Generalized Extreme Value...

Description Usage Arguments References See Also Examples

View source: R/plot.ggevp.R

Description

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

Usage

1
2
## S3 method for class 'ggevp'
plot(x, type = c("histogram", "predictive", "retlevel"), t=2, k = 100, ...)

Arguments

x

a ggevp object

type

which chosen plot

t

start return level

k

end return level

...

other graphics parameters

References

Nascimento, F. F.; Bourguigon, M. ; Leao, J. S. (2015). Extended generalized extreme value distribution with applications in environmental data. HACET J MATH STAT.

See Also

ggevp

Examples

1
2
3
4
5
6
7
8
# Obtaining posterior distribution of a vector of simulated points
w=rggev(300,0.4,10,5,0.5)

# Obtaning 300 points of posterior distribution with delta=0.5
fit=ggevp(w,1,200,0.5)
## Not run: plot(fit,"histogram")
plot(fit,"predictive")
## Not run: plot(fit,"retlevel", 10, 50)

MCMC4Extremes documentation built on May 1, 2019, 8:50 p.m.