evquantile {lfstat} | R Documentation |
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 |
return.period |
numeric vector of return periods |
Details
This function is vectorized over return.period
.
Value
A matrix containing the low-flow quantiles, with rows corresponding to return periods columns to distributions.
Examples
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"))
[Package lfstat version 0.9.12 Index]