nwequal: Test if the graphs of two networks are equal
Description
Given two network objects, the nodes in the nodelists are
compared by examining if their parents are the same.Value
- a logical.
TRUE
if the network graphs are equal,
FALSE
otherwise.
Details
The networks are assumed to have the same number of nodes and
the nodes are assumed to represent the same stochastic
variables. Sequentially the parents of the nodes are compared and if they
differ, FALSE
is returned.References
Further information about deal can be found at:
http://www.math.auc.dk/novo/deal.