Learn R Programming

lfstat (version 0.9.4)

evquantile: Estimating populations quantiles of extreme values

Description

Computes population quantiles for given return periods. Estimation is done using L-moments.

Usage

evquantile(fit, return.period = NULL)

Arguments

fit
object of class evfit, possibly created with evfit().
return.period
numeric vector of return periods

Value

Details

This function is vectorized over return.period.

Examples

Run this code
data("ngaruroro")

# using tyears is a fast way to produce an object of class evfit
y <- tyears(ngaruroro, dist = "wei", event = 100, plot = TRUE)

# computing quantiles for given return periods
rp <- c(1.42, 5, 10)
evquantile(y, return.period = rp)
rpline(y, return.period = rp, suffix = c("a", "m\u00B3"))

Run the code above in your browser using DataLab