Description Usage Arguments Details Value References Examples
Given an object of the class "interData" will produce a series of elo ratings up until the latest interaction in the interData object.
1 2 |
intData |
An onject of class "interData". |
initial |
The starting score for all participants in the group. |
kScaleBounds |
The player score bins to associate with K factors. See ?findK for more details |
kFactors |
The possible K factors to be used. See ?findK for more details. |
minThresh |
The minimum value of any players score. See ?eloSingleOutcome for more details |
Using the methods described in Neumann et al 2011. a series of Elo ratings are generated from interaction data. Initial scores may either be a single numeric value or a vector of integers correspong to the players element of intData. Further arguments are passed to the findK and singleOutcome functions and include the paramters; kScaleBounds, kFactors, and minTresh.
An object of the class eloTable which contains a vector of players in the graoup, the time range of interactions, and a data frame sorted by time containing any changes in an individuals elo rating.
Neumann et al (2011) Assessing Dominance Hierarchies. Animal Behaviour
1 2 3 4 5 6 7 8 9 | # generate generic data
interactions <- data.frame (a = sample (letters [1:10], 100, T),
b = sample (letters [1:10], 100, T),
o = sample (c(-1,-1,0,1,1), 100, T),
d = Sys.time () + runif (100, 40, 160))
# convert to interData object
id1 <- intTableConv (interactions)
# produce eloTable object
eloTable (id1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.