plot.gevp: Plot Fitted GEV Model

Description Usage Arguments See Also Examples

View source: R/plot.gevp.R

Description

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

Usage

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

Arguments

x

a gevp object

type

which chosen plot

t

start return level

k

end return level

...

other graphics parameters

See Also

gevp

Examples

1
2
3
4
5
6
# Return level of river nidd data
data(nidd.annual)
out=gevp(nidd.annual,1,300)
## Not run: plot(out,"histogram")
plot(out,"predictive")
## Not run: plot(out,"retlevel", 10, 50)

Example output

Loading required package: evir
$pred
 [1] 0.0049642966 0.0068125296 0.0084310003 0.0096332089 0.0104058681
 [6] 0.0108056323 0.0109085641 0.0107881873 0.0105073985 0.0101167617
[11] 0.0096554440 0.0091530177 0.0086313540 0.0081063115 0.0075891351
[16] 0.0070875739 0.0066067548 0.0061498562 0.0057186239 0.0053137631
[21] 0.0049352350 0.0045824805 0.0042545870 0.0039504136 0.0036686826
[26] 0.0034080469 0.0031671389 0.0029446048 0.0027391285 0.0025494474
[31] 0.0023743627 0.0022127447 0.0020635361 0.0019257511 0.0017984751
[36] 0.0016808618 0.0015721301 0.0014715605 0.0013784914 0.0012923150
[41] 0.0012124739 0.0011384569 0.0010697955 0.0010060608 0.0009468596
[46] 0.0008918324 0.0008406496 0.0007930097 0.0007486364 0.0007072765
[51] 0.0006686984 0.0006326894 0.0005990547 0.0005676155 0.0005382079
[56] 0.0005106812 0.0004848971 0.0004607286 0.0004380587 0.0004167798
[61] 0.0003967931 0.0003780074 0.0003603386 0.0003437094 0.0003280482
[66] 0.0003132891 0.0002993711 0.0002862380 0.0002738376 0.0002621218
[71] 0.0002510460

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