Description Usage Arguments Value
View source: R/bradley_terry.R
Constructs a matrix with (i,j) which denotes the number of matches where player i beats player j.
1 | w_fill(data_mat, players)
|
data_mat |
table containing matches with variables winner_id and loser_id. |
players |
vector containing a list of players from which to construct the matrix. |
A square matrix with dimension equal to the number of players
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.