Transform a matrix of regression coefficients to vector removing the diagonal
beta_to_vector(beta_mat)
beta_mat
matrix of regressions vectors
A numeric vector of all regression coefficients.