Last data update: 2014.03.03

R: Regional weighted average of L-moments
reglmrR Documentation

Regional weighted average of L-moments

Description

Regional weighted average of L-moments.

Usage

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

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

Results