w_fill: Construct the matrix of players wins/losses

Description Usage Arguments Value

View source: R/bradley_terry.R

Description

Constructs a matrix with (i,j) which denotes the number of matches where player i beats player j.

Usage

1
w_fill(data_mat, players)

Arguments

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.

Value

A square matrix with dimension equal to the number of players


ss15859/tennis.wta documentation built on Jan. 24, 2021, 12:46 a.m.