Learn R Programming

multiplex (version 2.3)

comps: Find components in multiple networks

Description

Function to find different components in the network plus isolates

Usage

comps(x, bonds = c("entire", "strong", "weak"))

Arguments

x
array representing the network
bonds
the type of bonds to be used in the creation of the relational system for the different components

Value

A list with two possible ``components'' A list with two possible ``components''

Details

The network's different components are obtained by means of transitive closure of the bundle ties. By default the `entire' network is chosen, but the option bonds allows to discriminate different types of relational bundles.

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 components ans isolates
comps(arr)

Run the code above in your browser using DataLab