operation {BCDAG}  R Documentation 
This function locally modifies a DAG by inserting (op = 1
), deleting (op = 2
) or reversing (op = 3
) an edge between two nodes
operation(op, A, nodes)
op 
numerical type in 
A 

nodes 
numerical labels of nodes on which the operator is applied, a 
The (q,q)
adjacency matrix of the modified DAG