Description Usage Arguments Details Value See Also
Calculates the K factor for the rating system employed by Tenhou for Riichi mahjong.
1 | kriichi(rating, games, gv = 400, kv = 0.2)
|
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. |
gv |
A value giving the threshold for the number of games played. |
kv |
The K factor if the number of games played is greater
than or equal to |
This function is designed to be used for the kfac
argument
of elom
. It returns kv
for players who have
played at least gv
games, and returns 1-(1-kv)N/gv
otherwise, where N
is the number of games played.
A numeric vector of K factors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.