rel.sys: Relational System

rel.sysR Documentation

Relational System

Description

Create the Relation System of a multiplex network.

Usage

rel.sys(x, type = c("tolist", "toarray"), bonds = c("entire", "strong", "weak", 
        "asym", "recp", "txch", "tent", "mixd", "full"), sel = NULL, 
        loops = FALSE, att = NULL, sep)

Arguments

x

an array; usually with three dimensions of stacked matrices where the multiple relations are placed.

type

if the transformation is from (array of) matrices into lists of pairwise relations or vice versa

bonds

the type of bonds to be used in the creation of the relational system (default the ‘entire’ network)

sel

(optional) the set of actors to be selected. For "toarray" att and noatt also supported (see details)

loops

(logical) whether or not the loops should be considered in the relational system

att

the arrays in x corresponding to attributes

sep

(optional) the pair separator for the pairwise relations

Details

When the type of bonds chosen is entire then the nodes with ties are considered in the relational system without isolated nodes. strong bonds are relational bundles with a mutual character, whereas weak bonds are those patterns exclusively without mutual character.

When choosing from a list with actor attributes, it is also possible to select the network members having or not having the attribute that is specified in the Attrs output by using in argument sel for the two options att or noatt.

Value

An object of 'Rel.System' class for the type = "tolist" (default) option. The items are:

ord

order of the network relational system

nodes

the nodes in the relational system

sel

the selected set of actors

sys.ord

the order of the relational system with the chosen bond type

incl

the nodes included the relational system with the chosen bond type

excl

the nodes excluded the relational system with the chosen bond type

bond.type

the type of bonds used in the relational system creation

size

number of ties in the relational system

Note

(optional) note

sep

the pairwise separator of the relational system

Ties

the ties in the relational system

Attrs.ord

if att is not NULL, the number of nodes with the chosen attribute(s)

Attrs

if att is not NULL, the actors with the chosen attribute(s)

For type = "toarray" the output is a dichotomous 2D or 3D array recording the relations among the actors in the network.

Author(s)

Antonio Rivero Ostoic

References

Ostoic, J.A.R. “Creating context for social influence processes in multiplex networks.” Network Science, 5(1), 1-29.

See Also

expos, bundles, neighb

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

## Determine the system of strong bonds
rel.sys(arr, bonds = "strong")

## the first array is for attributes
rel.sys(arr, att = 1)

## select the first node
rel.sys(arr, sel = 1)


mplex/multiplex documentation built on April 9, 2024, 3:12 a.m.