Summary of Bundle Classes

Share:

Description

Pretty printing of the bundle class patterns results.

Usage

1
summaryBundles(x, file = NULL, latex = FALSE, byties)

Arguments

x

an object of the 'Rel.Bundles' class

file

(optional) the path where the output file is to be placed

latex

(logical) whether the output sholud be in latex format or not

byties

(logical) expand tie patterns and collapse tie labels?

Details

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 provide 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 a human eye. Naturally the pair separator chosen must match the one of bundles.

If latex is set to TRUE, then the path file is activated to obtain a tex file with the different bundle class patterns.

Value

The distinct bundle class patterns with a user friendly format.

Note

In case that the file already exists in the pointed directory, then the file will be overwritten.

Author(s)

Antonio Rivero Ostoic

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, bundle.census

Examples

1
2
3
4
5
6
7
8
9
## Create the data: 2 binary relations among 3 elements
arr <- round( replace( array( runif(18), c(3 ,3, 2) ), array( runif(18),
c(3, 3, 2) ) > .8, 3 ) )

## Establish the different bundles
bd <- bundles(arr)

## Print the different relational bundles
summaryBundles(bd)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.