Learn R Programming

multiplex (version 3.7)

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

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

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.

Author

Antonio Rivero Ostoic

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.

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

Run this code
# load the data
data("incubA")

# relation box of image matrices in dataset
if (FALSE) {
rbox(incubA$IM)
}

Run the code above in your browser using DataLab