calculate_actual_wins: Actual Results for Every Pair of Players

calculate_actual_winsR Documentation

Actual Results for Every Pair of Players

Description

Calculate number of wins and loses for every pair of Players.

Usage

calculate_actual_wins(
  results,
  decreasing_metric = TRUE,
  compare_in_round = TRUE,
  aggregate = TRUE
)

Arguments

results

raw results

decreasing_metric

Logical. If Score is decreasing metrics.

compare_in_round

Logical. If Players should be compared only in the same Round. Setting to FALSE increase the number of Matches, but Score values of Players will be compared between different Rounds.

aggregate

Logical. If results should be aggregated for every pair of Players. Otherwise, output will have many rows with binary response (according to amount of Rounds in the Tournament) for every pair of Players.

Details

Naming convention, such as Player, Rounds, etc. comes from Gosiewska et al. (2020).

Value

data.frame


ModelOriented/EloML documentation built on June 22, 2022, 4:53 a.m.