/triversity

An R package implementing diversity measures for multipartite graphs

Primary LanguageRGNU General Public License v3.0GPL-3.0

triversity: Diversity Measures on Multipartite Graphs

triversity is an R package for the computation of diversity measures on multipartite graphs. First, it 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.

Tutorial

You will find some step-by-step instructions for basic computation in the following presentation: https://www-complexnetworks.lip6.fr/~lamarche/pdf/lamarche-perrin_2017_ALGODIV_slides_V2.pdf

Clone

git clone https://github.com/Lamarche-Perrin/triversity

Authors

This package has been developed by researchers of the Complex Networks team, within the Computer Science Laboratory of Paris 6, for the AlgoDiv project, founded by the French National Agency of Research under grant ANR-15-CE38-0001.

List of main collaborators:

License

Copyright © 2017 Robin Lamarche-Perrin (Robin.Lamarche-Perrin@lip6.fr)
triversity is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.