powered by
Returns a matrix representing the edges of a catNetwork object.
catNetwork
cnMatEdges(object)
a catNetwork object
A matrix of characters.
The resulting matrix has two columns and the number of edges rows. Edges are given as ordered pairs of the elements of the first and second columns.
cnEdges, cnMatParents
cnEdges
cnMatParents
# NOT RUN { cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2) cnMatEdges(object=cnet) # }
Run the code above in your browser using DataLab