get_edge_incidence: Return the edge incidence matrix of an igraph graph

View source: R/graph_utils.R

get_edge_incidenceR Documentation

Return the edge incidence matrix of an igraph graph

Description

Return the edge incidence matrix of an igraph graph

Usage

get_edge_incidence(g, weight = 1)

Arguments

g

igraph graph object.

weight

edge weights.

Value

Edge incidence matrix of the graph g, with +weight for the source node and -weight for the target node.


ccar3 documentation built on Sept. 16, 2025, 9:11 a.m.