The function rearranges the nodes of a network according to a new order.
Usage
cnReorderNodes(object, nodeIndices)
Arguments
object
a catNetwork
nodeIndices
a vector representing the new node order
Value
A catNetwork object.
Details
Node reordering affects the list of node names, parents and probabilities.
It is a useful operation in cases when comparison of two networks is needed.