Convert a Parameter Object to a Vector of Parameters
This function converts a parameter object to a vector of parameters using the $para
component of the parameter list such as returned by vec2par
.
par2vec(para, ...)
para
: A parameter object of a distribution....
: Additional arguments should they even be needed.An vector
is returned in moment order.
W.H. Asquith
vec2par
para <- vec2par(c(12,123,0.5), type="gev") par2vec(para) # xi alpha kappa # 12.0 123.0 0.5