make_symmetric: Force a matrix into being symmetric

View source: R/make_symmetric.R

make_symmetricR Documentation

Force a matrix into being symmetric

Description

This function takes an adjacency matrix as input and forces it into being symmetric.

Usage

make_symmetric(adj, method = pmax)

Arguments

adj

the adjacency matrix

method

the element-wise function to be applied to the matrix and its transpose; default is pmax

Author(s)

Ilias Moutsopoulos


drostlab/edgynode documentation built on March 29, 2024, 10:36 a.m.