Learn R Programming

catnet (version 1.08.2)

cnParHist-method: Parenthood Histogram

Description

Calculates the histogram of parent-child edges for a catNetworkEvaluate object or a list of catNetworks

Usage

cnParHist(object)

Arguments

object
catNetworkEvaluate or list of catNetwork objects

Value

  • a numerical matrix

Examples

Run this code
cnet <- cnRandomCatnet(numnodes=20, maxParents=3, numCategories=2)
  psamples <- cnSamples(cnet, 100)
  nodeOrder <- sample(1:20)
  nets <- cnSearchOrder(psamples, perturbations=NULL, 
	maxParentSet=2, maxComplexity=50, nodeOrder)
  cnParHist(object=nets)

Run the code above in your browser using DataLab