plot.mevr {mevr}R Documentation

Plot graphs of MEVD, SMEV or TMEV fit

Description

A return level plot, qq-plot, pp-plot and a histogram with the fitted density is produced

Usage

## S3 method for class 'mevr'
plot(
  x,
  q = c(2, 10, 20, 30, 50, 75, 100, 150, 200),
  ci = FALSE,
  type = c("all", "rl", "qq", "pp", "hist"),
  ...
)

Arguments

x

An object of classmevr, whose type argument is one of MEVD, SMEV or TMEV

q

vector of return periods, q > 1.

ci

if ci=TRUE, confidence intervals will be computed.

type

if omitted a panel with a return level plot (type='rl', a density plot (type='hist'), a qq-plot (type='qq') and a probability plot (tpe='pp') are shown.

...

Further parameters may also be supplied as arguments. See e.g. plot.

Value

No return value, only a plot is produced.

Examples

data(dailyrainfall)

# fit a simplified MEVD
fit <- fsmev(dailyrainfall)
fit
plot(fit)

# fit MEVD
fit <- fmev(dailyrainfall, method = "ls")
fit
plot(fit)

[Package mevr version 1.1.1 Index]