rel.sys | R Documentation |
Create the Relation System of a multiplex network.
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)
x |
an array; usually with three dimensions of stacked matrices where the multiple relations are placed. |
type |
if the transformation is from
|
bonds |
the type of bonds to be used in the creation of the relational system
|
loops |
(logical) whether or not the loops should be considered in the relational system |
sel |
(optional) a set of actors to be selected. For |
att |
(optional) arrays in |
sep |
(optional) pair separator used for the pairwise relations |
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 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 |
Attrs |
if |
For type = "toarray"
, the output is a two or three dimensional dichotomous array recording the relations among the actors in the network.
Antonio Rivero Ostoic
Ostoic, J.A.R. “Creating context for social influence processes in multiplex networks.” Network Science, 5(1), 1-29.
expos
, bundles
, neighb
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.