The function computes regional average \(L\)-moments
(by calling regavlmom
) and fits a probability distribution
to the regional average \(L\)-moments.
This distribution has mean 1, i.e., the index flood is the
mean of the distribution.
For distribution dist
there should exist a function to estimate
the parameters of the distribution given a set of \(L\)-moments.
The function should have a name that is the character string "pel"
followed by the character string dist
.
It should accept a single argument, a vector containing \(L\)-moments
\(\ell_1\), \(\ell_2\), \(t_3\), \(t_4\), etc.,
and return a vector of distribution parameters.
For distribution dist
there should also exist a quantile function,
which should have a name that is the character string
"qua"
followed by the character string dist
.
It should accept two arguments: a vector of probabilities
and a vector containing the parameters of the distribution.
The search path used to find the "pel"
and "qua"
functions
is the same as for arguments supplied to regfit
, i.e.
the enclosing frames of the function, followed by the search path
specified by search()
.
The estimation routines and quantile functions in package lmom
have the form described here. For example, to use a
generalized extreme value distribution set dist
to be
the string "gev"
; then the fitting function pelgev
and the quantile function quagev
will be used
(unless these functions have been masked by another object
on the search path).