count_edges: Count edges within a graph or edges between two...

Description Usage Arguments Author(s)

Description

Count edges within a graph or edges between two non-overlapping graphs

Usage

1
count_edges(G, v1, v2 = NULL, edges = FALSE)

Arguments

G

igraph which contains vertex identified by 'v1' and 'v2'.

v1

vector of vertex identifiers.

v2

vector of vertex identifiers. 'NULL' by default, but when a second vector is supplied, the fuction will return the number of edges connecting the two subgraphs indicated by the vertex lists.

edges

logical. If TRUE, the edges rather than the count will be returned as a data.frame with two columns named "vi" and "vj".

Author(s)

Christopher Nobles, Ph.D.


cnobles/spraphal documentation built on May 28, 2019, 7:35 p.m.