
Last chance! 50% off unlimited learning
Sale ends in
Function to find different components in the multiple network including isolated nodes.
comps(x, bonds = c("entire", "strong", "weak"), sort)
A list with two possible system “components”
network components
network isolates
array representing a given network
type of bonds to be used in the creation of the relational system for the different components
(optional and logical) sort components by size? Default FALSE
Antonio Rivero Ostoic
The different components in the network are obtained through the transitive closure of the bundle ties.
By default, the entire system is chosen, but the option bonds
allows choosing different types of relational bundles for the components.
Argument sort
is for output of components having increasing size; that is (if they exist) dyads, triads, and so on.
bundles
, rel.sys
# create the data: two binary relations among three elements
arr <- round( replace( array( runif(18), c(3 ,3, 2) ), array( runif(18),
c(3, 3, 2) ) > .9, 3 ) )
# find the components and isolates
comps(arr)
Run the code above in your browser using DataLab