Description Usage Arguments Value Author(s) Examples
Returns the directed graph using the conservative Peter-Clark algorithm.
1 | mgm.cpc(ds, graph)
|
ds |
Dataset Object |
graph |
Undirected graph received by calling the function mgm() |
Returns the directed graph
Neha Abraham, Vineet Raghu, Panagiotis Benos
1 2 3 4 5 | library(causalMGM)
mgm_init()
ds <- loadSampleData()
graph <- mgm(ds)
mgm.cpc(ds, graph)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.