Mtrx_EList: Adjacency matrix to edge list

View source: R/EffRSparse.R

Mtrx_EListR Documentation

Adjacency matrix to edge list

Description

Convert an adjacency matrix to an edge list.

Usage

Mtrx_EList(A, directed = FALSE)

Arguments

A

Weighted adjacency matrix.

directed

Specifies if the network is directed or undirected. Default is set to undirected.

Value

An edge list, E_List, of adjacency matrix, A, of the form | n1 | n2 | weight |.

Author(s)

Alexander Mercier


simplifyNet documentation built on Nov. 15, 2022, 5:05 p.m.