Computes the “unbiased” sample Lmoments and Lmoment ratios of multiple sets of data stored in a list or matrix. Following the paradigm of regional frequency analysis, we regard the data sets as coming from different measurement sites.
1 
x 
A list of numeric vectors, or a numeric matrix. 
nmom 
Number of Lmoments to be computed. 
sort.data 
Logical: whether each data set should be sorted. 
lcv 
Logical.
If 
Sample Lmoments are computed for each data set.
The calculations use samlmu
internally.
If x
is a list, each list element should contain data for one site
and the names of the list elements should be the site names.
If x
is a matrix, each column should contain data for one site
and the column names should be the site names.
An object of class regdata
.
It is a data frame with columns "name"
and "n"
,
containing respectively the site names and the
number of nonmissing data values at each site,
and further columns containing the Lmoments and Lmoment ratios,
in the order l_1, t (or l_2),
t_3, t_4, etc.
The default parameter values are chosen to be convenient
for the regional frequency analysis methods described by
Hosking and Wallis (1997).
Note that the number of Lmoments and the choice
of whether to return LCV or Lscale
are different from the defaults for samlmu
.
J. R. M. Hosking jrmhosking@gmail.com
Hosking, J. R. M., and Wallis, J. R. (1997). Regional frequency analysis: an approach based on Lmoments. Cambridge University Press.
1 2 3 4 5  data(Maxwind) # a list
regsamlmu(Maxwind)
data(airquality) # a data frame
regsamlmu(airquality[1:4])

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.