summaryBundles | R Documentation |
Pretty printing of the bundle class patterns results.
summaryBundles(x, file = NULL, latex = FALSE, byties)
x |
an object of the ‘ |
file |
(optional) a path where the output file is to be placed |
latex |
(logical) whether or not the output should be in latex format |
byties |
(optional and logical) expand tie patterns and collapse tie labels? |
This function prints the bundle census patterns existing in the network with an option to export such information in a friendly format.
The dyadic bundle patterns are provided by the function bundles
; however, the outcome of this function provides a list of pair lists for
each bundle with the involved types of relations and nodes in the network.
This form for presentation, although is convenient for further computation, it is not always easy to read for the human eye.
The pair separator used to print the bundle occurrences is taken from the output of the bundles
function.
If latex
is set to TRUE
, then the path file is activated to obtain a tex
file with the different bundle class patterns.
Finally, the optional argument byties
provide more precise information about the patterned ties disregarding the relational content.
The distinct bundle class patterns with a user friendly format.
If a file with the same name already exists in the pointed directory, then this file will be overwritten.
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
, bundle.census
# 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 ) )
# print different relational bundles in 'arr'
arr |>
bundles() |>
summaryBundles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.