comps {multiplex} | R Documentation |
Find Components and Isolates in Multiple Networks
Description
Function to find different components in the multiple network including isolated nodes.
Usage
comps(x, bonds = c("entire", "strong", "weak"), sort)
Arguments
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 |
Details
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.
Value
A list with two possible system “components”
com |
network components |
isol |
network isolates |
Author(s)
Antonio Rivero Ostoic
See Also
Examples
# 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)
[Package multiplex version 3.9 Index]