Learn R Programming

equSA (version 1.1.5)

simtoequiv: Transform a directed acyclic graph into an equivalent correct graph.

Description

A correct graph is specified by its adjacencies and V-structures only.

Usage

simtoequiv(edgematrix)

Arguments

edgematrix

The simulated true graph.

Value

A list of one object.

PDAG

The equivalent correct graph.

%% \item{comp2 }{Description of 'comp2'} %% ...

References

Jean-Philippe, Pellet and Andr\'e,Elisseeff (2008). Using Markov blankets for causal structure learning. Journal of Machine Learning Research, 9, 1295-1342.

Suwa, Xu and Faming, Liang (2017). Learning High-Dimensional Bayesian Networks for General Types of Random Variables. Submitted to Biometrika.

Examples

Run this code
# NOT RUN {
# library(equSA)
# load("mixed3000.rda")
# equiv_graph <- simtoequiv(mixed3000$Adjacency.matrix)$PDAG

# }

Run the code above in your browser using DataLab