moralize {lcd}R Documentation

Chain graph moralization

Description

Computes the moral graph of a given chain graph.

Usage

moralize(amat)

Arguments

amat the adjacency matrix of the chain graph.

Details

Joins the parents of every complex and undirect all the edges.

Value

The adjacency matrix of the moral graph.

Author(s)

Zongming Ma and Xiangrui Meng

References

Lauritzen, S. L. (1996). Graphical Models. Clarendon Press, Oxford.

Examples

moralize(toy.graph)

[Package lcd version 0.7-2 Index]