Package: toporanga 1.0.0

Miron B. Kursa
toporanga: 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.
Authors:
toporanga_1.0.0.tar.gz
toporanga_1.0.0.zip(r-4.7)toporanga_1.0.0.zip(r-4.6)toporanga_1.0.0.zip(r-4.5)
toporanga_1.0.0.tgz(r-4.6-x86_64)toporanga_1.0.0.tgz(r-4.6-arm64)toporanga_1.0.0.tgz(r-4.5-x86_64)toporanga_1.0.0.tgz(r-4.5-arm64)
toporanga_1.0.0.tar.gz(r-4.7-arm64)toporanga_1.0.0.tar.gz(r-4.7-x86_64)toporanga_1.0.0.tar.gz(r-4.6-arm64)toporanga_1.0.0.tar.gz(r-4.6-x86_64)
toporanga_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
toporanga/json (API)
| # Install 'toporanga' in R: |
| install.packages('toporanga', repos = c('https://mbq.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://gitlab.com/mbq/toporanga
- EcoHAB - Example EcoHAB data
Last updated from:fc781f5696. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 112 | ||
| linux-devel-x86_64 | OK | 110 | ||
| source / vignettes | OK | 127 | ||
| linux-release-arm64 | OK | 141 | ||
| linux-release-x86_64 | OK | 92 | ||
| macos-release-arm64 | OK | 147 | ||
| macos-release-x86_64 | OK | 182 | ||
| macos-oldrel-arm64 | OK | 109 | ||
| macos-oldrel-x86_64 | OK | 149 | ||
| windows-devel | OK | 103 | ||
| windows-release | OK | 65 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 78 |
Exports:all_toposortsarrangecomponentscumulative_epochsdiffusedotmarginisenormaliseparameterssample_toposorttally_from_matrixtally_logtoporangawindow_epochszero_opposition
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract all possible toposorts of a graph | all_toposorts |
| Arrange agents into hierarchy | arrange |
| Extract components of a tally | components |
| Cumulative epoch generator | cumulative_epochs |
| Diffuse the weights over indirect links. | diffuse |
| Export dominance graph into Graphviz dot format | dot |
| Example EcoHAB data | EcoHAB |
| Convert tally weights into margin weights | marginise |
| Normalise tally weights | normalise |
| Parameters of agents from a graph | parameters |
| Switch default toposorts of a graph to a random one | sample_toposort |
| Create tally from a raw matrix | tally_from_matrix |
| Create tally from an event log | tally_log |
| A catch-all function to access package functionality in one call | toporanga |
| Moving window epoch generator | window_epochs |
| Zero the opposing tally weights | zero_opposition |