stocnet / migraph

Tools for multimodal and multilevel network analysis
https://stocnet.github.io/migraph/
Other
39 stars 7 forks source link

test_random() with network_equivalency() on bipartite network #272

Closed rabenton closed 1 year ago

rabenton commented 1 year ago

The test_random() function returns an error when testing network_equivalency() on a bipartite network.

library(migraph) network_equivalency(ison_southern_women) test_random(ison_southern_women, network_equivalency, times=100)

jhollway commented 1 year ago

Thank you @rabenton, this bug is now fixed in the develop branch. We will merge to the main branch and CRAN in the next week or two, or you can install via remotes::install_github("snlab-ch/migraph", "develop") if you need this functionality immediately.