toporanga | R Documentation |
The general pipeline of toporanga is to tally the domination events, optionally modify the tally by diffusing event weights and/or re-scoring reciprocal weights, arrange agents into an order represented by an acyclic graph, finally to reduce it to an order or a dominance score. This function collects all of this into a single call.
toporanga(
winning,
opposing,
weight,
...,
agents,
diffuse = FALSE,
reciprocals = c(),
output = c("parameters", "graph", "order_sample", "subordinate_count"),
epochs
)
winning |
vector of IDs of winning agents. |
opposing |
vector of IDs of opposing agents. |
weight |
optional weight of the event; set to 1 for each event if not given. |
... |
ignored. |
agents |
optional vector of IDs of all agents; allows for ghost agents that are in the set but are not involved in any event. |
diffuse |
if |
reciprocals |
a vector of commands applied to the tally.
|
output |
specifies what to return from the function.
|
epochs |
optional driver for applying analysis on subsets of events. See |
A result of the caclulation in a form specified by the output
argument, aggregated over epochs is epochs
argument is given.
data(EcoHAB)
toporanga(EcoHAB$winner,EcoHAB$loser)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.