lmom2vec: Convert an L-moment object to a Vector of L-moments

lmom2vecR Documentation

Convert an L-moment object to a Vector of L-moments

Description

This function converts an L-moment object in the structure used by lmomco into a simple vector. The precise operation of this function is dependent on the L-moment object argument. The lmorph function is not used. This function is useful if one needs to use certain functions in the lmoms package that are built around vectors of L-moments and L-moment ratios as arguments.

Usage

lmom2vec(lmom, ...)

Arguments

lmom

L-moment object as from functions such as lmoms, lmom.ub, and vec2lmom.

...

Not presently used.

Value

A vector of the L-moments (\lambda_1, \lambda_2, \tau_3, \tau_4, \tau_5, ..., \tau_r).

Author(s)

W.H. Asquith

See Also

lmom.ub, lmoms, lmorph, vec2lmom, pwm2vec

Examples

  lmr <- lmoms(rnorm(40))
  lmom2vec(lmr)
  lmr <- vec2lmom(c(140,150,.3,.2,-.1))
  lmom2vec(lmr)

wasquith/lmomco documentation built on Nov. 13, 2024, 4:53 p.m.