Learn R Programming

sdnet (version 2.4.1)

cnNumNodes-method: Network Size

Description

Returns the number of nodes of a catNetwork object.

Usage

cnNumNodes(object)

Arguments

object

a catNetwork

Value

an integer

See Also

cnNodes

Examples

Run this code
# NOT RUN {
  cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2)
  cnNumNodes(object=cnet)
# }

Run the code above in your browser using DataLab