cnNumNodes-method {catnet}R Documentation

Network Size

Description

Returns the number of nodes of a catNetwork object.

Usage

cnNumNodes(object)

Arguments

object

a catNetwork

Value

an integer

Author(s)

N. Balov, P. Salzman

See Also

cnNodes

Examples

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

[Package catnet version 1.15.7 Index]