cnMatEdges-method {catnet} | R Documentation |
Returns a matrix representing the edges of a catNetwork
object.
cnMatEdges(object)
object |
a |
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.
A matrix of characters.
N. Balov, P. Salzman
library(catnet) cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2) cnMatEdges(object=cnet)