bundle.census | R Documentation |
A function to perform the bundle census in multiple networks.
bundle.census(x, loops = FALSE)
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 |
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.
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.
Functions bundles
and summaryBundles
provide bundle class occurrences in the network with a more detailed information.
Antonio Rivero Ostoic
Ostoic, J. A. R. “Dyadic Patterns in Multiple Networks,” Advances in Social Networks Analysis and Mining, International Conference on, 475-481. 2011.
bundles
, summaryBundles
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.