components {toporanga} | R Documentation |
Extract components of a tally
Description
Decomposes the tally into stronly connected components.
Usage
components(tally)
Arguments
tally |
a |
Value
A vector of component IDs for each agent, named with agent IDs. Components are integers from 1 up to the component count, which is at most the number of agents. Hence, when the tally is fully strongly connected, the result is a vector of ones.
[Package toporanga version 1.0.0 Index]