Learn R Programming

simplifyNet (version 0.0.1)

Mtrx_EList: Adjacency matrix to edge list

Description

Convert an adjacency matrix to an edge list.

Usage

Mtrx_EList(A, directed = FALSE)

Value

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

Arguments

A

Weighted adjacency matrix.

directed

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

Author

Alexander Mercier