powered by
Returns a matrix representing the edges of a catNetwork object.
catNetwork
cnMatEdges(object)
A matrix of characters.
a catNetwork object
N. Balov, P. Salzman
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
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnMatEdges(object=cnet)
Run the code above in your browser using DataLab