comps | R Documentation |
Function to find different components in the multiple network including isolated nodes.
comps(x, bonds = c("entire", "strong", "weak"), sort)
x |
array representing a given network |
bonds |
type of bonds to be used in the creation of the relational system for the different components |
sort |
(optional and logical) sort components by size? Default |
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.
A list with two possible system “components”
com |
network components |
isol |
network isolates |
Antonio Rivero Ostoic
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.