Learn R Programming

EloRating (version 0.46.8)

DCindex: 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

References

vanhooff1987EloRating

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab