Topological Sort-Based Hierarchy Inference

Deciphering hierarchy of agents exhibiting observable dominance events is a crucial problem in several disciplines, in particular in behavioural analysis of social animals, but also in social sciences and game theory. This package implements an inference approach based on graph theory, namely to extract the optimal acyclic subset of a weighted graph of dominance; this allows for hierarchy estimation through topological sorting. The package also contains infrastructure to investigate partially defined hierarchies and hierarchy dynamics.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("toporanga")

1.0.0 by Miron B. Kursa, a year ago


https://gitlab.com/mbq/toporanga


Report a bug at https://gitlab.com/mbq/toporanga/-/issues


Browse source code at https://github.com/cran/toporanga


Authors: Miron B. Kursa [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL-3 license


Suggests testthat


See at CRAN