Learn R Programming

multiplex (version 2.3)

bundles: Bundle Class Patterns

Description

Classify the Bundle class patterns in a system of multiple relations

Usage

bundles(x, loops = FALSE, smpl = FALSE, lb2lb = TRUE, collapse = FALSE, prsep)

Arguments

x
an array; usually with three dimensions of stacked matrices where the multiple relations are placed.
loops
(logical) whether or not the loops should be considered as a particular bundle
smpl
(logical) simplify the strings of relations? Default no.
lb2lb
(logical) should the labels of the nodes be included in the output? Default yes.
collapse
(logical) collapse the distinct levels of relations in the network? Default no.
prsep
(optional) the pair separator for the pairwise relations

Value

An object of `Rel.Bundles' class with the distinct bundle class patterns. ' class with the distinct bundle class patterns.

Details

A bundle is a special type of pattern made of relations at different levels that is binding a pair of nodes or actors in a network of relations. A bundle class is a dyadic configuration resulting from the mixture of the direction and the types of tie between the nodes or actors. There are in total seven dyadic configuration classes, which are null, asymmetric, reciprocal, tie entrainment, tie exchange, mixed, and the full bundle pattern. This function provides the detailed information about the bundle class patterns in the multiple network as lists of pair relations among the nodes or actors, except for the `null' pattern. In case that the nodes are not labeled, then an identification number will be assigned according to the nodes' location in the array representation and as well when the lb2lb option is set to FALSE. This function assumes that the network is directed, and self ties can also be considered in the output. Long string labels can be simplified with smpl, whereas the collapse option blurs the levels in the strings. The input array is always dichotomized.

References

Ostoic, J. A. R. `Dyadic Patterns in Multiple Networks,' International Conference on Advances in Social Networks Analysis and Mining, 475-481. 2011.

See Also

bundle.census, summaryBundles, transf.

Examples

Run this code
## 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))>.8, 3 ) )

## Establish the different bundles
bundles(arr)

Run the code above in your browser using DataLab