kgames: A K Factor Function With Dependence On Number Of Games

Description Usage Arguments Details Value See Also

Description

Calculates the K factor for the Elo rating system based on number of games played.

Usage

1
kgames(rating, games, elite = NULL, gv = 30, kv = c(32,26)) 

Arguments

rating

A numeric vector of player ratings. The K factor does not depend on this quantity.

games

A numeric vector with the number of games played by each player.

elite

Not used.

gv

A numeric vector of length one less than kv giving the thresholds for the number of games played.

kv

A numeric vector of length one more than gv giving the different K factors that the function can produce.

Details

This function is designed to be used for the kfac argument of either fide or elo. It returns kv[i] for players who have played a total number of games within the intervals defined by gv (closed on the right).

Value

A numeric vector of K factors.

See Also

elo, fide


PlayerRatings documentation built on March 1, 2020, 5:07 p.m.