powered by
caugi
Returns the number of nodes in the graph.
An integer representing the number of nodes.
A caugi object.
Other caugi methods: print()
print()
cg <- caugi( A %-->% B, class = "DAG" ) length(cg) # 2 cg2 <- caugi( A %-->% B + C, nodes = LETTERS[1:5], class = "DAG" ) length(cg2) # 5
Run the code above in your browser using DataLab