cnMatEdges: Network Edge Matrix

cnMatEdges-methodR 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)

catnet documentation built on Nov. 10, 2022, 5:08 p.m.