tally_log {toporanga}R Documentation

Create tally from an event log

Description

Collects a log of domination events into a toporanga_tally object which can be fed to other functions in the package.

Usage

tally_log(winning, opposing, weight, ..., agents)

Arguments

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.

Value

A toporanga_tally object.


[Package toporanga version 1.0.0 Index]