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"), loops = FALSE, 
        sel = NULL, 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

  • tolist for (array of) matrices into lists of pairwise relations

  • toarray for lists of pairwise relations into (array of) matrices

bonds

the type of bonds to be used in the creation of the relational system

  • entire for the “entire” network (default, same as full)

  • strong for strong bonds

  • weak for weak bonds

  • asym for asymmetric ties

  • recp for reciprocal ties

  • txch for tie exchange bundles

  • tent for tie entrainment bundles

  • mixd for mixed bundles

  • full for the whole network (same as entire)

loops

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

sel

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

att

(optional) arrays in x corresponding to attributes

sep

(optional) pair separator used 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.

Value

For type = "tolist" (default) option, an object of ‘Rel.System’ class where items are:

ord

order of network relational system

nodes

nodes in relational system

sel

selected set of actors

sys.ord

order of relational system with chosen bond type

incl

nodes included relational system with chosen bond type

excl

nodes excluded relational system with chosen bond type

bond.type

type of bonds used in relational system creation

size

number of ties in relational system

Note

(if needed) a note

sep

pairwise separator of relational system

Ties

ties in relational system

Attrs.ord

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

Attrs

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

For type = "toarray", the output is a two or three dimensional dichotomous 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 ) )

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

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

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

multiplex documentation built on Sept. 30, 2024, 5:07 p.m.