par2vec: Convert a Parameter Object to a Vector of Parameters

par2vecR Documentation

Convert a Parameter Object to a Vector of Parameters

Description

This function converts a parameter object to a vector of parameters using the $para component of the parameter list such as returned by vec2par.

Usage

par2vec(para, ...)

Arguments

para

A parameter object of a distribution.

...

Additional arguments should they even be needed.

Value

An R vector is returned in moment order.

Author(s)

W.H. Asquith

See Also

vec2par

Examples

para <- vec2par(c(12,123,0.5), type="gev")
par2vec(para)
#   xi alpha kappa
# 12.0 123.0   0.5

lmomco documentation built on May 29, 2024, 10:06 a.m.