moralize {lcd} | R Documentation |
Computes the moral graph of a given chain graph.
moralize(amat)
amat |
the adjacency matrix of the chain graph. |
Joins the parents of every complex and undirect all the edges.
The adjacency matrix of the moral graph.
Zongming Ma and Xiangrui Meng
Lauritzen, S. L. (1996). Graphical Models. Clarendon Press, Oxford.
moralize(toy.graph)