powered by
calculate Directional Consistency Index
DCindex(interactionmatrix)
numeric value, the DCI
square interaction matrix with winner in rows and losers in columns, for example the output from creatematrix
creatematrix
Christof Neumann
vanhooff1987EloRating
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