View source: R/fixed_ordering_moralization.R
This function turns a immoral graph to a moral graph by fill in the deficiency of each node for a given node ordering. The elimination process removes a nodes and the edges between its neighbours. The output of the function is a moral graph.
1 | fixed_ordering_moralization(graph, ordering)
|
graph |
A graph that is stored in an adjacency matrix. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.