pwm2vec {lmomco}R Documentation

Convert Probability-Weighted Moment object to a Vector of Probability-Weighted Moments

Description

This function converts a Probability-Weighted Moment object in the structure used by lmomco into a simple vector of β_0, β_1, β_2, β_3, β_4.

Usage

pwm2vec(pwm, ...)

Arguments

pwm Probability-Weighted Moment object as from functions such as pwm and vec2pwm.
... Not presently used.

Value

A vector of the first five Probability-Weighted Moments if available. The $betas field of the pwm argument is simply returned by this function.

Author(s)

W.H. Asquith

See Also

pwm and vec2pwm

Examples

  pmr <- pwm(rnorm(40))
  pwm2vec(pmr)

  pmr <- vec2pwm(c(140,150,45,21))
  pwm2vec(pmr)

[Package lmomco version 0.96.3 Index]