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