od_rating: Offensive - Defensive rating method

View source: R/rating_methods.R

od_ratingR Documentation

Offensive - Defensive rating method

Description

Computes rating using the offensive-defensive method

Usage

od_rating(A, iter = 1000, rer = 1e-12)

Arguments

A

matrix with scores

iter

number of iterations

rer

relative error to stop computation

Value

list with rating, offensive score, defensive score and number of iterations.

Author(s)

Pedro Guarderas pedro.felipe.guarderas@gmail.com

Examples

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 )

pedroguarderas/mau documentation built on June 4, 2024, 2:04 a.m.