Learn R Programming

multiplex (version 3.7)

comps: 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)

Value

A list with two possible system “components”

com

network components

isol

network isolates

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 FALSE

Author

Antonio Rivero Ostoic

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.

See Also

bundles, rel.sys

Examples

Run this code
# 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