Learn R Programming

multiplex (version 2.3)

bundle.census: Bundle Census

Description

A function to perform the Bundle Census in a given multiple network.

Usage

bundle.census(x, loops = FALSE)

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

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. If loops were considered, these are at the end of the table.More detailed information about the bundle class occurrences is given by the function bundles.

Details

This function calculates the number of occurrences for each bundle class pattern in the multiple network. A bundle is a special 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, which are included in the census.

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

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

## Calculate the Bundle Census
bundle.census(arr)

Run the code above in your browser using DataLab