rpline {lfstat}R Documentation

Highlight quantiles/return periods

Description

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

Usage

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

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"))

[Package lfstat version 0.9.12 Index]