Package: EloRating 0.46.18

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.zip(r-4.5)EloRating_0.46.18.zip(r-4.4)EloRating_0.46.18.zip(r-4.3)
EloRating_0.46.18.tgz(r-4.4-x86_64)EloRating_0.46.18.tgz(r-4.4-arm64)EloRating_0.46.18.tgz(r-4.3-x86_64)EloRating_0.46.18.tgz(r-4.3-arm64)
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://gobbios.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

On CRAN:

38 exports 4 stars 2.93 score 21 dependencies 1 dependents 12 mentions 52 scripts 359 downloads

Last updated 2 months agofrom:be8e35ff25. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-win-x86_64OKSep 03 2024
R-4.5-linux-x86_64OKSep 03 2024
R-4.4-win-x86_64OKSep 03 2024
R-4.4-mac-x86_64OKSep 03 2024
R-4.4-mac-aarch64OKSep 03 2024
R-4.3-win-x86_64OKSep 03 2024
R-4.3-mac-x86_64OKSep 03 2024
R-4.3-mac-aarch64OKSep 03 2024

Exports:CBIcoresidencecorrectly_predictedcreatematrixcreatestartvaluesDCindexDSdyadic_domdyadic_reversalse.singleelo.seqeloplotextract_elofasteloh.indexheatmapplotincontableindividualsISIISIrankslastdaypresentlikelomat2seqoptimizekoptistartpresence_summaryprunkrandomelorandomeloextractrandomsequencescale_eloseqchecksimple_domstab_elosteepnesstraj_elotransitivitywinprob

Dependencies:clicodafansigluelatticelifecyclemagrittrnetworkpillarpkgconfigrbibutilsRcppRcppArmadilloRdpackrlangsnastatnet.commontibbleutf8vctrszoo

EloRating - a brief tutorial

Rendered fromEloRating_tutorial.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-02-03
Started: 2017-07-30

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