plot.atSite: Various plot of the at-site analysis of a time series

Description Usage Arguments Examples

Description

Produce various plot for the visualisation of the fitting of a atSite object. Including Return level plot (plot), QQ-plot (qqplot), histogram (hist) and density plot (density)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## S3 method for class 'atSite'
plot(obj, main = "Return level plot",
  xlab = "Return period", ylab = "Return levels", ci = FALSE,
  col.ci = "red", lty.ci = 2, lwd.ci = 1, nsim = 100,
  upper.tail = TRUE, ...)

## S3 method for class 'atSite'
qqplot(obj, main = "QQ-plot", ylab = "Empirical quantiles",
  xlab = "Theoretical quantiles", ci = FALSE, nsim = 100,
  col.ci = "red", lty.ci = 2, lwd.ci = 1, ...)

## S3 method for class 'atSite'
hist(obj, main = "Histogram", xlab = "Sample", ...)

## S3 method for class 'atSite'
density(obj, main = "Density plot", xlab = "Sample",
  ylab = "Density", ylim = NULL, col.dens = "red", lty.dens = 1,
  lwd.dens = 1, ...)

Arguments

obj

Output from atSite.

ci

Logical. Does confident interval should be display.

col.ci, lty.ci, lwd.ci

Graphical parameters definining the display of the confident interval.

nsim

Number of simulation for the computation of the confident interval.

upper.tail

Does the return periods are associated to the upper.tail (TRUE) or the lower tail (FALSE) of the distribution.

...

Other graphical parameters. See par.

col.dens, lty.dens, lwd.dens

Graphical parameters definining the display of the nonparametric density lines.

Examples

1
2
3
4
5
6
7
8
library(lmomco)

ax <- atSite(rlmomco(50,vec2par(c(100,20,0),'gev')))

plot(ax, ci = TRUE)
qqplot(ax)
hist(ax)
density(ax)

martindurocher/floodRFA documentation built on June 5, 2019, 8:44 p.m.