Learn R Programming

lmomco (version 1.4.3)

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

Arguments

para
A parameter object of a distribution.
...
Additional arguments should they even be needed.

Value

  • An R vector is returned in moment order.

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