

Compare two graphs
Source: R/construction.R
Description
Two graphs are equal if they have the same class, the same nodes and the same edges, regardless of the order they were added in. Use markov_equivalent() to compare equivalence classes instead.
Usage
## S3 method for class 'cgraph'
e1 == e2
## S3 method for class 'cgraph'
e1 != e2Arguments
e1, e2
|
Graphs created with cgraph().
|
Value
A logical scalar.