Symmetrize a beta (coefficient) matrix, ie. selected from MB neighborhood selection
symBeta(beta, mode = "ave")
square coefficient matrix
how to symmetrize, see details
a symmetric coefficient matrix
Mode can be:
ave: Arithmetic average between the two possible values of beta
maxabs: The maximum [absolute] value between the two values
upper: Take the values from the upper triangle
lower: Take the values from the lower triangle