cnMatEdges-method {catnet}R Documentation

Network Edge Matrix

Description

Returns a matrix representing the edges of a catNetwork object.

Usage

cnMatEdges(object)

Arguments

object

a catNetwork object

Details

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.

Value

A matrix of characters.

Author(s)

N. Balov, P. Salzman

See Also

cnEdges, cnMatParents

Examples

  library(catnet)
  cnet <- cnRandomCatnet(numnodes=10, maxParents=3, numCategories=2)
  cnMatEdges(object=cnet)

[Package catnet version 1.15.7 Index]