View source: R/rating_methods.R
od_rating | R Documentation |
Computes rating using the offensive-defensive method
od_rating(A, iter = 1000, rer = 1e-12)
A |
matrix with scores |
iter |
number of iterations |
rer |
relative error to stop computation |
list with rating, offensive score, defensive score and number of iterations.
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.