powered by
Returns the number of nodes of a catNetwork object.
catNetwork
cnNumNodes(object)
a catNetwork
an integer
integer
cnNodes
# NOT RUN { cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2) cnNumNodes(object=cnet) # }
Run the code above in your browser using DataLab