Last chance! 50% off unlimited learning
Sale ends in
findAncestors(G, node, graph = FALSE)
pc.or
or any other algorithm which produces directed graphs.
plota, nei, pc.or
# simulate a dataset with continuous data
# simulate a dataset with continuous data
y = rdag(1000, 10, 0.3)
tru = y$G
x = y$x
mod = pc.con(x)
G = pc.or(mod)$G
plota(G)
findAncestors(G, 1, graph = FALSE)
Run the code above in your browser using DataLab