DS | R Documentation |
calculate David's scores from an interaction matrix
DS(interactionmatrix, prop = c("Dij", "Pij"))
interactionmatrix |
square interaction matrix with winner in rows and losers in columns, for example the output from |
prop |
the type of dyadic win proportion to be use. By default corrected for number of interactions in a dyad ( |
a data.frame with columns ID, DS (David's scores) and normDS (normalized David's scores)
Christof Neumann
david1987EloRating
\insertRefgammell2003EloRating
\insertRefdevries2006EloRating
data(bonobos)
DS(bonobos)
DS(bonobos, prop = "Pij")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.