Package: triversity 2.0

Robin Lamarche-Perrin
triversity: Diversity Measures on Multipartite Graphs
Computing diversity measures on multipartite graphs. This package first implements a parametrized family of such diversity measures which apply on probability distributions. Sometimes called "True Diversity", this family contains famous measures such as the richness, the Shannon entropy, the Herfindahl-Hirschman index, and the Berger-Parker index. Second, the package allows to apply these measures on probability distributions resulting from random walks between the parts of multipartite graphs. By defining an initial distribution on a given part of the graph and a path to follow between the different parts, the probability of the walker's position within the final part is then computed, thus providing a particular instance of diversity to measure.
Authors:
triversity_2.0.tar.gz
triversity_2.0.zip(r-4.7)triversity_2.0.zip(r-4.6)triversity_2.0.zip(r-4.5)
triversity_2.0.tgz(r-4.6-any)triversity_2.0.tgz(r-4.5-any)
triversity_2.0.tar.gz(r-4.7-any)triversity_2.0.tar.gz(r-4.6-any)
triversity_2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
triversity/json (API)
| # Install 'triversity' in R: |
| install.packages('triversity', repos = c('https://lamarche-perrin.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lamarche-perrin/triversity/issues
- tripartite_example - An example of dataframe encoding a small tripartite graph.
Last updated from:554552e6fa. Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 118 | ||
| source / vignettes | OK | 186 | ||
| linux-release-x86_64 | ERROR | 113 | ||
| macos-release-arm64 | ERROR | 99 | ||
| macos-oldrel-arm64 | ERROR | 105 | ||
| windows-devel | ERROR | 62 | ||
| windows-release | ERROR | 72 | ||
| windows-oldrel | ERROR | 71 | ||
| wasm-release | OK | 138 |
Exports:get_all_diversitiesget_distribution_from_pathget_diversity_from_distributionget_diversity_from_pathget_diversity_from_transitionget_multipartiteget_transition_from_path