Learn R Programming

lmomco (version 2.4.14)

par2vec: 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, ...)

Value

An R

vector is returned in moment order.

Arguments

para

A parameter object of a distribution.

...

Additional arguments should they even be needed.

Author

W.H. Asquith

See Also

vec2par

Examples

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

Run the code above in your browser using DataLab