SCC2.prep: Create list of edges for SCC2

View source: R/00.helpers.R

SCC2.prepR Documentation

Create list of edges for SCC2

Description

Create list of edges for SCC2

Usage

SCC2.prep(x)

Arguments

x

A square adjacency matrix representing the directed network.

Value

If there are at least two non-zero rows:

  • A list whose elements are vectors representing the ties between units as c(starting_node, end_node) for the function #' SCC2(). Otherwise,

  • A list like those produced by SCC2() and SCC().

Note: Isolated nodes are not returned, but the object x2 is modified in place to store information on their number if the matrix has at least two non-null rows.

Author(s)

Telarico, Fabio Ashtar

See Also

[SCC2()]


FinNet documentation built on Oct. 31, 2024, 5:07 p.m.