powered by
Computes rating using the offensive-defensive method
od_rating(A, iter = 1000, rer = 1e-12)
list with rating, offensive score, defensive score and number of iterations.
matrix with scores
number of iterations
relative error to stop computation
Pedro Guarderas pedro.felipe.guarderas@gmail.com
A <- matrix( c( 0, 7, 21, 7, 0, 52, 0, 34, 25, 27, 24, 16, 0, 7, 3, 38, 17, 5, 0, 14, 45, 7, 30, 52, 0 ), nrow = 5, ncol = 5 ) r <- od_rating( A )
Run the code above in your browser using DataLab