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:Robin Lamarche-Perrin [aut, cre]

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'))

Peer review:

Bug tracker:https://github.com/lamarche-perrin/triversity/issues

Datasets:

On CRAN:

7 exports 3 stars 0.83 score 4 dependencies 7 scripts 125 downloads

Last updated 7 years agofrom:554552e6fa. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-winERRORSep 06 2024
R-4.5-linuxERRORSep 06 2024
R-4.4-winERRORSep 06 2024
R-4.4-macERRORSep 06 2024
R-4.3-winERRORSep 06 2024
R-4.3-macERRORSep 06 2024

Exports:get_all_diversitiesget_distribution_from_pathget_diversity_from_distributionget_diversity_from_pathget_diversity_from_transitionget_multipartiteget_transition_from_path

Dependencies:data.treeR6slamstringi