Gets the parameter values of the columns of a variational matrix that were used to create a given variational matrix, as a single vector. This is the subset of getAllParsVariations corresponding to the columns present in the variational matrix. The output is the same as that of getParVariations except it is formatted as a single vector.

getParVecVariations(df)

Arguments

df

A data frame containing a variational matrix, optionally with second order derivatives.

Value

A named numeric vector containing the theta's, eta's and eps's used to create the variational matrix and present as columns of the matrix, in the order of appearance in the matrix. The names are the names of the parameters. The function displays an error and returns NULL if df is not a valid variational matrix.

See also

Author

Martijn van Noort