edges: List of edges in adjacency matrix

View source: R/edges.R

edgesR Documentation

List of edges in adjacency matrix

Description

Produces a list of edges from an adjacency matrix.

Usage

edges(amat)

Arguments

amat

An adjacency matrix.

Value

A list consisting of two lists: One for oriented edges ($dir), and one for unoriented edges ($undir).


causalDisco documentation built on May 12, 2022, 9:05 a.m.