reglmr: Regional weighted average of L-moments

View source: R/lmomRFA.r

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 \ell_1, \ell_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

lmomRFA documentation built on Aug. 29, 2023, 9:07 a.m.