| nwequal {deal} | R Documentation |
Given two network objects, the nodes in the nodelists are compared by examining if their parents are the same.
nwequal(nw1,nw2)
nw1 |
an object of class network |
nw2 |
an object of class network |
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.
a logical. TRUE if the network graphs are equal,
FALSE otherwise.
Susanne Gammelgaard Bøttcher alma@math.auc.dk,
Claus Dethlefsen dethlef@math.auc.dk.
Further information about deal can be found at:
http://www.math.auc.dk/novo/deal.