Learn R Programming

lmomco (version 2.4.14)

lmom2vec: 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, ...)

Value

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

Arguments

lmom

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

...

Not presently used.

Author

W.H. Asquith

See Also

lmom.ub, lmoms, lmorph, vec2lmom, pwm2vec

Examples

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

Run the code above in your browser using DataLab