bicm: bicm: Bipartite Configuration Model.

Description Usage Arguments Details Value References Examples

View source: R/bicm.R

Description

bicm: Bipartite Configuration Model.

Usage

1
bicm(graph, tol = 1e-08, max_steps = 200, ...)

Arguments

graph

matrix, a bipartite adjacency matrix of a graph

tol

numeric, tolerance of algorithm

max_steps

numeric, number of times to run loglikelihood_prime_bicm algorithm

...

optional arguments

Details

The Bipartite Configuration Model (Saracco et. al. 2015, 2017) produces a matrix of edge specific probabilities which are used in sdsm to find the p-values of the edges in the bipartite projection. This R code is adapted from the python BiCM package by Matteo Bruno under the MIT license.

Value

matrix containing probabilities

References

python bicm: Matteo Bruno, matteo.bruno<at>imtlucca.it, https://github.com/mat701/BiCM

bicm: Saracco, F., Straka, M. J., Clemente, R. D., Gabrielli, A., Caldarelli, G., & Squartini, T. (2017). Inferring monopartite projections of bipartite networks: An entropy-based approach. New Journal of Physics, 19(5), 053022. doi: 10.1088/1367-2630/aa6b38

bicm: Saracco, F., Di Clemente, R., Gabrielli, A., & Squartini, T. (2015). Randomizing bipartite networks: The case of the World Trade Web. Scientific Reports, 5(1), 10595. doi: 10.1038/srep10595

Examples

1

backbone documentation built on Sept. 18, 2021, 1:07 a.m.