Learn R Programming

multiplex (version 3.7)

bundle.census: Bundle Census

Description

A function to perform the bundle census in multiple networks.

Usage

bundle.census(x, loops = FALSE)

Value

A table with the occurrences in the distinct bundle class patterns. The first column in the output gives the number of bundles in the network, excluding the null pattern, and then the totals for each bundle class pattern are specified in the following columns. The last column of the table hosts loops in case these are activated in the input.

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

Author

Antonio Rivero Ostoic

Details

This function calculates the number of occurrences for each bundle class pattern in multiple networks. A bundle is a particular type of pattern made of relations at different levels that is binding a pair of nodes or actors. Depending on the direction and occurrence of each possible tie, then it is possible to count with seven dyadic configuration classes in the census.

References

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

See Also

bundles, summaryBundles

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

# compute the bundle census
bundle.census(arr)

Run the code above in your browser using DataLab