plot.mevr: Plot graphs of MEVD, SMEV or TMEV fit

View source: R/mevr.R

plot.mevrR 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

character. Specifies the type of plot to display:

  • "rl": return level plot.

  • "hist": density plot.

  • "qq": Q-Q plot.

  • "pp": probability plot.

If omitted, a panel showing all four plots is displayed.

...

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)

mevr documentation built on Oct. 13, 2026, 5:07 p.m.