R/countGraphs.R

Defines functions countGraphs

Documented in countGraphs

countGraphs <-
function(nodes,max.indeg) {
	grphs<-1
	for (i in 1:max.indeg) {
		grphs<-grphs+choose(nodes,i)
	}
	return(grphs)
}

Try the interventionalDBN package in your browser

Any scripts or data that you put into this service are public.

interventionalDBN documentation built on May 2, 2019, 4:04 p.m.