DCindex: Directional Consistency Index

View source: R/DCindex.R

DCindexR Documentation

Directional Consistency Index

Description

calculate Directional Consistency Index

Usage

DCindex(interactionmatrix)

Arguments

interactionmatrix

square interaction matrix with winner in rows and losers in columns, for example the output from creatematrix

Value

numeric value, the DCI

Author(s)

Christof Neumann

References

\insertRef

vanhooff1987EloRating

Examples

data(adv)
SEQ <- elo.seq(winner = adv$winner, loser = adv$loser, Date = adv$Date)
mat <- creatematrix(SEQ)
DCindex(mat)

# or directly from a matrix
data(bonobos)
DCindex(bonobos)

gobbios/EloRating documentation built on July 19, 2024, 4:05 a.m.