tally_log | R Documentation |
Collects a log of domination events into a toporanga_tally
object which can be fed to other functions in the package.
tally_log(winning, opposing, weight, ..., agents)
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 ofg IDs of all agents; allows for ghost agents that are in the set but are not involved in any event. |
A toporanga_tally
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.