symBeta: sym beta

View source: R/utilities.R

symBetaR Documentation

sym beta

Description

Symmetrize a beta (coefficient) matrix, ie. selected from MB neighborhood selection

Usage

symBeta(beta, mode = "ave")

Arguments

beta

square coefficient matrix

mode

how to symmetrize, see details

Details

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

Value

a symmetric coefficient matrix


zdk123/SpiecEasi documentation built on Oct. 20, 2023, 6:49 a.m.