mgm.cpc: Conservative PC

Description Usage Arguments Value Author(s) Examples

View source: R/cpc.R

Description

Returns the directed graph using the conservative Peter-Clark algorithm.

Usage

1
mgm.cpc(ds, graph)

Arguments

ds

Dataset Object

graph

Undirected graph received by calling the function mgm()

Value

Returns the directed graph

Author(s)

Neha Abraham, Vineet Raghu, Panagiotis Benos

Examples

1
2
3
4
5
library(causalMGM)
mgm_init()
ds <- loadSampleData()
graph <- mgm(ds)
mgm.cpc(ds, graph)

nehaabraham/causalMGM documentation built on May 24, 2019, 6:11 a.m.