Gets the parameter values of the columns of a variational matrix that were used to create a given variational matrix, as a list of population, individual and residual parameters. This is the subset of getAllParsVariations corresponding to the columns present in the variational matrix. The output is the same as that of getParVecVariations except it is formatted as a list of three vectors.

getParsVariations(df)

Arguments

df

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

Value

A named list of three named numeric vectors 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 list elements are named "theta", "eta" and "eps", respectively. The vector elements have 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