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.5)triversity_2.0.zip(r-4.4)triversity_2.0.zip(r-4.3)
triversity_2.0.tgz(r-4.4-any)triversity_2.0.tgz(r-4.3-any)
triversity_2.0.tar.gz(r-4.5-noble)triversity_2.0.tar.gz(r-4.4-noble)
triversity_2.0.tgz(r-4.4-emscripten)triversity_2.0.tgz(r-4.3-emscripten)
triversity.pdf |triversity.html✨
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 7 years agofrom:554552e6fa. Checks:OK: 1 ERROR: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win | ERROR | Nov 05 2024 |
R-4.5-linux | ERROR | Nov 05 2024 |
R-4.4-win | ERROR | Nov 05 2024 |
R-4.4-mac | ERROR | Nov 05 2024 |
R-4.3-win | ERROR | Nov 05 2024 |
R-4.3-mac | ERROR | Nov 05 2024 |
Exports:get_all_diversitiesget_distribution_from_pathget_diversity_from_distributionget_diversity_from_pathget_diversity_from_transitionget_multipartiteget_transition_from_path