Learn R Programming

catnet (version 1.08.2)

ccnCluster-method: Clusters in Network

Description

The function retrieves the clusters, these are the connected sub-networks, in a given network.

Usage

cnCluster(object)

Arguments

object
a catNetwork

Value

  • A list of named nodes.

Details

The function constructs a list of subsets of nodes of the object, each representing a connected sub-network. Isolated nodes, these are nodes not connected to any other, are not reported. Thus, every element of the output list contains at least two nodes.

See Also

cnFindAIC, cnFindBIC

Examples

Run this code
cnet <- cnRandomCatnet(numnodes=30, maxParents=2, numCategories=2)
  cnCluster(object=cnet)

Run the code above in your browser using DataLab