rpline: Highlight quantiles/return periods

Description Usage Arguments Details Value Examples

Description

Draw a Line in an extreme value plot corresponding to a given return period.

Usage

1
rpline(fit, return.period = NULL, log = TRUE, ...)

Arguments

fit

object of class evfit, possibly created with evfit().

return.period

numeric vector of return periods

log

logical. If TRUE it is assumed that probabilities were plotted on a double logarithmic scale.

...

other arguments, passed on to trace_value

Details

Computes the corresponding quantiles and draws lines and labels.

Value

This function is used for its side effects

Examples

1
2
3
4
data("ngaruroro")
y <- tyears(ngaruroro, dist = "wei", event = 100, plot = TRUE)
rp <- c(1.42, 5, 10)
rpline(y, return.period = rp, suffix = c("a", "m\u00B3"))

Example output

Loading required package: xts
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: lmom
Loading required package: lattice

lfstat documentation built on May 2, 2019, 6:07 p.m.