Description Usage Arguments Value Author(s) References Examples

Implements the PC-stable search algorithm () algorithm and returns the directed graph. Also outputs the graph to a .txt file

1 | ```
mgm.pc_stable(ds, graph)
``` |

`ds` |
DataSet object |

`graph` |
Graph object of DataSet |

`pcs_graph` |
Directed graph |

AJ Sedgewick, Neha Abraham, Panagiotis Benos

Andrew J Sedgewick, Joseph D. Ramsey, Peter Spirtes, Clark Glymour, Panayiotis V. Benos, "Mixed Graphical Models for Causal Analysis of Multi-modal Variables", 2017, arXiv:1704.02621 https://arxiv.org/abs/1704.02621

1 2 3 4 5 | ```
library(rJava)
mgm_init()
ds <- loadSampleData()
graph <- mgm(ds)
mgm.pc_stable(ds, graph)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.