powered by
Draw a Line in an extreme value plot corresponding to a given return period.
rpline(fit, return.period = NULL, log = TRUE, ...)
This function is used for its side effects
object of class evfit, possibly created with evfit().
evfit
evfit()
numeric vector of return periods
logical. If TRUE it is assumed that probabilities were plotted on a double logarithmic scale.
TRUE
other arguments, passed on to trace_value
trace_value
Computes the corresponding quantiles and draws lines and labels.
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"))
Run the code above in your browser using DataLab