pwm2vec {lmomco} | R Documentation |
This function converts a Probability-Weighted Moment object in the structure used by lmomco into a simple vector of β_0, β_1, β_2, β_3, β_4.
pwm2vec(pwm, ...)
pwm |
Probability-Weighted Moment object as from functions such as pwm and vec2pwm . |
... |
Not presently used. |
A vector of the first five Probability-Weighted Moments if available. The $betas
field of the pwm
argument is simply returned by this function.
W.H. Asquith
pmr <- pwm(rnorm(40)) pwm2vec(pmr) pmr <- vec2pwm(c(140,150,45,21)) pwm2vec(pmr)