rbox: Construct the Relation-Box

rboxR Documentation

Construct the Relation-Box

Description

Function to construct the Relation-Box of a multiple network

Usage

rbox(w, transp = FALSE, smpl = FALSE, k = 3, tlbs)

Arguments

w

an array with three dimensions of stacked matrices of generating relations.

transp

(logical) whether or not the transpose of each matrix in w should be included.

smpl

(logical) whether to simplify or not the strings of relations

k

length of the Relation-Box in z

tlbs

(optional) a vector with the labels for the transpose relations.

Details

If transp = TRUE the labels of the transpose are toggle case of the labels of the original matrices, and in such case, it is advised to simplify the strings of relations. To prevent a transposed structure for a certain array of w, use NA in the vector the transpose labels tlbs corresponding to the respective matrix.

Value

An object of the 'Rel.Box' class.

w

the primitive relations in the Relation-Box

W

the structure of the Relation-Box

lbs

the labels in the relational system

Note

(optional) Notes indicating the particularities in the input

Orels

the original labels of the relations

Srels

(optional) the simplified labels of the relations

Trels

(optional) the labels of the transposed relations

k

the maximal length of the word

z

the length of the Relation-Box in the z dimension

Note

Values of k until 9 are supported. With many types of relations, and when the order of the multiplex network is high, turning k to more than three may take a long time of computation.

Author(s)

Antonio Rivero Ostoic

References

Winship, C. and M.J. Mandel ‘Roles and positions: A critique and extension of the blockmodelling approach,’ Sociological Methodology, 314-344. 1983.

See Also

cph, semigroup, hierar

Examples

## load the data
data("incubA")

## The relation box of the image matrices
## Not run:
rbox(incubA$IM)
## End(**Not run**)

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