arrange {toporanga} | R Documentation |
Arrange agents into hierarchy
Description
Estimate agent hierarchy from a tally by assembling edges in order of decreasing weight and skipping cycle-creating ones. The effect is a directed acyclic graph that can be topologically-sorted into an agent order, though this order may not be unique depending on how well the latent hierarchy is sampled and whether it even exists.
Usage
arrange(tally)
Arguments
tally |
a |
Value
A toporanga_graph
object, representing the established graph.
Note
The method may be stochastic if there are ties in weights.
Examples
data(EcoHAB)
arrange(tally_log(EcoHAB$winner,EcoHAB$loser))
[Package toporanga version 1.0.0 Index]