Helpers for computing Head-to-Head matrices.
1 2 3 4 5 6 7 8 9 10
Additional arguments to be passed to or from methods.
Value to fill with.
Value to print.
Vector of players for which Head-to-Head is computed.
players_drop removes from
h2h_mat rows and columns of
the players for which either row or column contain only
most cases it means these players are absent in original competition
get_cr_players in case of argument
returns vector of players present in
cr_data. If not
returns its argument
get_cr_matchups returns a
tibble of all
matchups (pairs of players from one game) present in
cr_data. It has
Game identifier of matchup
Identifier of first player in matchup
Score of the first player in matchup
Identifier of second player in matchup
Score of the second player in matchup
Note that matchups are not symmetrical: matchup "player1"-"player2" is considered different from "player2"-"player1" in order to except more advanced, not symmetrical Head-to-Head values.
head-to-head Abstract computing of Head-to-Head matrices.
head-to-head-functions Specific functions for computing Head-to-Head matrices.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.