Regional weighted average of L-moments

Share:

Description

Regional weighted average of L-moments.

Usage

1
reglmr(xmom, weight)

Arguments

xmom

Matrix or data frame each of whose rows contains the L-moments and L-moment ratios for one site, in the order l_1, l_2, t_3, t_4, etc.

weight

Vector containing the weights to be used for each site. If omitted, equal weights will be used.

Value

Vector containing the regional average L-moments.

Note

This function is deprecated and may be removed from a future version of the package. Function regavlmom is the recommended replacement.

Author(s)

J. R. M. Hosking jrmhosking@gmail.com

Examples

1
2
3
4
(xmom<-t(sapply(Maxwind,samlmu)))
nrec<-sapply(Maxwind,length)
reglmr(xmom,nrec)   # weighted by record length
reglmr(xmom)        # unweighted