Learn R Programming

lmomco (version 1.7.3)

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 of $\lambda_1$, $\lambda_2$, $\tau_3$, $\tau_4$, $\tau_5$.

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 first five L-moments ($\lambda_1$, $\lambda_2$, $\tau_3$, $\tau_4$, $\tau_5$) or mean, L-scale, L-skew, L-kurtosis, and Tau5.

See Also

lmom.ub, lmoms, lmorph, and vec2lmom

Examples

Run this code
lmr <- lmom.ub(rnorm(40))
  lmom2vec(lmr)


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

Run the code above in your browser using DataLab