Package: communityhierarchy 0.5.0.9000

Maximilian Jerdee
communityhierarchy: Joint Inference of Communities and Hierarchy in Directed Networks
Fits a joint Bayesian model of community structure and ranking in directed networks of wins, losses and draws, and measures how much of the ranking the communities explain. The undirected network follows a degree-corrected stochastic block model (Peixoto 2017 <doi:10.1103/PhysRevE.95.012317>), each interaction is decided by the Bradley-Terry model, with draws as in Davidson (1970) <doi:10.1080/01621459.1970.10481082>, and a node's score is its group's score plus an individual deviation. The posterior is sampled by Markov chain Monte Carlo with merge-split moves (Peixoto 2020 <doi:10.1103/PhysRevE.102.012305>) in a C++ core shared with the 'Python' package 'community-hierarchy'.
Authors:
communityhierarchy_0.5.0.9000.tar.gz
communityhierarchy_0.5.0.9000.zip(r-4.7-x86_64)communityhierarchy_0.5.0.9000.zip(r-4.7-arm64)communityhierarchy_0.5.0.9000.zip(r-4.6-x86_64)communityhierarchy_0.5.0.9000.zip(r-4.6-arm64)communityhierarchy_0.5.0.9000.zip(r-4.5-x86_64)
communityhierarchy_0.5.0.9000.tgz(r-4.6-x86_64)communityhierarchy_0.5.0.9000.tgz(r-4.6-arm64)communityhierarchy_0.5.0.9000.tgz(r-4.5-x86_64)communityhierarchy_0.5.0.9000.tgz(r-4.5-arm64)
communityhierarchy_0.5.0.9000.tar.gz(r-4.7-arm64)communityhierarchy_0.5.0.9000.tar.gz(r-4.7-x86_64)communityhierarchy_0.5.0.9000.tar.gz(r-4.6-arm64)communityhierarchy_0.5.0.9000.tar.gz(r-4.6-x86_64)
communityhierarchy_0.5.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
communityhierarchy/json (API)
| # Install 'communityhierarchy' in R: |
| install.packages('communityhierarchy', repos = c('https://maxjerdee.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/maxjerdee/community-hierarchy/issues
Last updated from:a7c400c0fe. Checks:13 ERROR, 2 OK. Indexed: yes.
A new build is currently in progress.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 258 | ||
| linux-devel-x86_64 | ERROR | 148 | ||
| source / vignettes | OK | 219 | ||
| linux-release-arm64 | ERROR | 127 | ||
| linux-release-x86_64 | ERROR | 145 | ||
| macos-release-arm64 | ERROR | 197 | ||
| macos-release-x86_64 | ERROR | 298 | ||
| macos-oldrel-arm64 | ERROR | 180 | ||
| macos-oldrel-x86_64 | ERROR | 248 | ||
| windows-devel-arm64 | ERROR | 386 | ||
| windows-devel-x86_64 | ERROR | 128 | ||
| windows-release-arm64 | ERROR | 325 | ||
| windows-release-x86_64 | ERROR | 115 | ||
| windows-oldrel-x86_64 | ERROR | 102 | ||
| wasm-release | OK | 111 |
Exports:ch_configch_fitcoincidence_matrixconsensus_partitiondiagnosticsdirection_loodirection_probabilitiesmdl_partitionnetwork_propertiesnode_propertiespartition_esssamples
Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigRcpprlangvctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Model configuration | ch_config |
| Fit the community and hierarchy model | ch_fit |
| Co-membership matrix | coincidence_matrix |
| Point estimate of the partition | consensus_partition |
| MCMC convergence diagnostics | diagnostics |
| Leave-one-out cross-validation of the edge directions | direction_loo |
| Predicted outcome of an interaction | direction_probabilities |
| The sample with the shortest description length | mdl_partition |
| Network-level posterior summaries | network_properties |
| Node-level posterior summaries | node_properties |
| Effective sample size of the partition | partition_ess |
| The recorded samples | samples |
