Skip to contents

This function formats the posterior simulations of the hyperparameters (covariance matrix) into a single data frame, including only the diagonal and upper-triangle elements.

Usage

format_marginals_random(Sigma_sims)

Arguments

Sigma_sims

A 3D array containing the posterior simulations of the covariance matrix.

Value

A data frame with rows as simulations and columns as elements of the covariance matrix.

Author

Joaquín Martínez-Minaya jmarmin@eio.upv.es