the the component definition to be used by component.dist during component extraction.
comp.dist.precomp
a component size distribution object from component.dist (optional).
Value
A vector containing the number of components for each graph in dat
Details
The connected parameter corresponds to the rule parameter of component.dist. By default, components returns the number of strong components, but other component types can be returned if so desired. (See component.dist for details.) For symmetric matrices, this is obviously a moot point.
References
West, D.B. (1996). Introduction to Graph Theory. Upper Saddle River, NJ: Prentice Hall.
# NOT RUN {g<-rgraph(20,tprob=0.05) #Generate a sparse random graph#Find weak componentscomponents(g,connected="weak")
#Find strong componentscomponents(g,connected="strong")
# }