powered by
is.dag(graph)
FALSE
is.dag
g <- graph.tree(10) is.dag(g) g2 <- g + edge(5,1) is.dag(g2)
Run the code above in your browser using DataLab