Learn R Programming

EloRating (version 0.46.18)

.incon: number of inconsistencies

Description

calculate number of inconsistencies

Usage

.incon(mat)

Value

integer, the number of inconsistencies in the matrix

Arguments

mat

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

Author

Christof Neumann

References

devries1998EloRating

Examples

Run this code
data(bonobos)
EloRating:::.incon(bonobos)

Run the code above in your browser using DataLab