Package: EloRating 0.46.18

Christof Neumann

EloRating: Animal Dominance Hierarchies by Elo Rating

Provides functions to quantify animal dominance hierarchies. The major focus is on Elo rating and its ability to deal with temporal dynamics in dominance interaction sequences. For static data, David's score and de Vries' I&SI are also implemented. In addition, the package provides functions to assess transitivity, linearity and stability of dominance networks. See Neumann et al (2011) <doi:10.1016/j.anbehav.2011.07.016> for an introduction.

Authors:Christof Neumann [aut, cre], Lars Kulik [aut]

EloRating_0.46.18.tar.gz
EloRating_0.46.18.tar.gz(r-4.5-noble)EloRating_0.46.18.tar.gz(r-4.4-noble)
EloRating_0.46.18.tgz(r-4.4-emscripten)EloRating_0.46.18.tgz(r-4.3-emscripten)
EloRating.pdf |EloRating.html
EloRating/json (API)
NEWS

# Install 'EloRating' in R:
install.packages('EloRating', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gobbios/elorating/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • adv - Dominance sequence from Albers and de Vries
  • adv2 - Dominance sequence from Albers and de Vries
  • advpres - Fictional presence data for Albers and de Vries
  • baboons1 - Baboon dominance sequences
  • baboons2 - Baboon dominance sequences
  • baboons3 - Baboon dominance sequences
  • baboons4 - Baboon dominance sequences
  • baboons5 - Baboon dominance sequences
  • bonobos - Dominance matrix from de Vries et al. 2006
  • devries98 - Dominance matrix from de Vries
  • dommats - Example dominance matrices

5.19 score 2 stars 1 packages 52 scripts 351 downloads 12 mentions 38 exports 22 dependencies

Last updated 4 months agofrom:d064552cc3. Checks:OK: 1 WARNING: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 14 2024
R-4.5-linux-x86_64WARNINGOct 14 2024

Exports:CBIcoresidencecorrectly_predictedcreatematrixcreatestartvaluesDCindexDSdyadic_domdyadic_reversalse.singleelo.seqeloplotextract_elofasteloh.indexheatmapplotincontableindividualsISIISIrankslastdaypresentlikelomat2seqoptimizekoptistartpresence_summaryprunkrandomelorandomeloextractrandomsequencescale_eloseqchecksimple_domstab_elosteepnesstraj_elotransitivitywinprob

Dependencies:clicodafansigluelatticelifecyclemagrittrMatrixnetworkpillarpkgconfigrbibutilsRcppRcppArmadilloRdpackrlangsnastatnet.commontibbleutf8vctrszoo

EloRating - a brief tutorial

Rendered fromEloRating_tutorial.Rmdusingknitr::rmarkdownon Oct 14 2024.

Last update: 2024-07-16
Started: 2019-06-14

Readme and manuals

Help Manual

Help pageTopics
Animal Dominance Hierarchies by Elo RatingEloRating-package EloRating
difference matrix.diffmat
calculate Elo ratings.elo.seq_old
number of inconsistencies.incon
strength of inconsistencies.sincon
Dominance sequence from Albers and de Vries (2001)adv
Dominance sequence from Albers and de Vries (2001)adv2
Fictional presence data for Albers and de Vries (2001)advpres
Baboon dominance sequencesbaboons baboons1 baboons2 baboons3 baboons4 baboons5
Dominance matrix from de Vries et al. 2006bonobos
Clutton-Brock et al 1979 index (CBI)CBI
coresidence summarycoresidence
correctly predicted outcomescorrectly_predicted correctly_predicted.default correctly_predicted.elo correctly_predicted.fastelo correctly_predicted.list correctly_predicted.matrix
create a dominance matrixcreatematrix
calculate start values from prior knowledgecreatestartvalues
Directional Consistency IndexDCindex
Dominance matrix from de Vries (1998)devries98
Example dominance matricesdommats
David's scoreDS
dyadic dominance relationsdyadic_dom
changes in dyadic relationshipsdyadic_reversals
Elo ratings for a single interactione.single
calculate Elo ratingselo.seq fastelo
Elo rating plotseloplot
extract Elo ratings from elo objectextract_elo
linearity indicesh.index
heatmapheatmapplot
number and strength of inconsistenciesincontable
individuals present in the groupindividuals
de Vries' I&SI rankingISI
ISI ranksISIranks
last day an individual was presentlastdaypresent
(log) likelihood of Elo-rating modellikelo
matrix to sequence conversionmat2seq mat2seqint
optimize the k parameteroptimizek
optimize start valuesoptistart
Summarize presence datapresence_summary
prints its argumentprint.elo
prints its argumentprint.seqchecknopres
prints its argumentprint.sequencecheck
unknown relationshipsprunk
calculate Elo ratings from an interaction matrixrandomelo
extract ratings from random sequences based on an interaction matrixrandomeloextract
random dominance interaction sequencerandomsequence
standardize Elo ratingsscale.elo scale_elo
runs raw data diagnostics for Elo ratingseqcheck
simple dominance indicessimple_dom
stability index _S_stab.elo stab_elo
hierarchy steepness based on David's scoressteepint steepness
summarize elo objectsummary.elo
calculate dominance trajectorytraj_elo
triangle transitivitytransitivity
expected winning probabilitywinprob