Learn R Programming

lmomco (version 0.88)

par2lmom: Convert the Parameters of a Distribution to the L-moments

Description

This function converts the parameters of a distribution to the L-moment as represented in an L-moment object. This function dispatches to lmomCCC where CCC represents the three character distribution identifier: cau, exp, gam, gev, gld, glo, gno, gpa, gum, kap, nor, pe3, revgum, wak, and wei. The conversion of parameters to TL-moments (TLmoms) is not supported. Specific use of functions such as lmomTLgld or lmomTLgpa for the TL-moments of the Generalized Lambda and Generalized Pareto distributions is required.

Usage

par2lmom(para)

Arguments

para
A parameter object of a distribution.

Value

  • An L-moment object (an R list) is returned.

See Also

lmom.ub, lmom2par

Examples

Run this code
lmr      <- lmom.ub(rnorm(20))
para     <- parnor(lmr)
frompara <- par2lmom(para)
lmom.diff(frompara,lmr)

Run the code above in your browser using DataLab