caugi
R/methods.R
length.Rd
Returns the number of nodes in the graph.
A caugi object.
An integer representing the number of nodes.
Other caugi methods: print()
print()
cg <- caugi( A %-->% B, class = "DAG" ) length(cg) # 2 #> [1] 2 cg2 <- caugi( A %-->% B + C, nodes = LETTERS[1:5], class = "DAG" ) length(cg2) # 5 #> [1] 5