regavlmom: Regional weighted average of L-moments

Description Usage Arguments Value Author(s) Examples

View source: R/lmomRFA.r

Description

Computes a regional weighted average of L-moments.

Usage

1
  regavlmom(regdata, weight)

Arguments

regdata

Object of class regdata, containing summary statistics of the data for the sites in a region.

weight

Vector containing the weights to be used for each site. If omitted, weights will be the sample size at each site, taken from the second column of regdata. If a single value, equal weights will be used.

Value

Vector containing the regional average L-moments.

Author(s)

J. R. M. Hosking [email protected]

Examples

1
2
3
reglm <- regsamlmu(Maxwind)
regavlmom(reglm)            # Weight proportional to record length
regavlmom(reglm, weight=1)  # Equal weights

lmomRFA documentation built on Aug. 2, 2017, 9:03 a.m.