Learn R Programming

eicm (version 1.0.3)

isCyclic: Is the adjacency matrix a cyclic graph?

Description

Tests whether the given graph (given as an adjacency matrix) contains cycles.

Usage

isCyclic(coefs)

Value

A logical indicating whether there are cycles in the graph.

Arguments

coefs

a square adjacency matrix.