pm_eloRunTourneyELO: pm_eloRunTourneyELO

Description Usage Arguments Value

View source: R/eloFunctions.R

Description

Run a simulated Tournament based on input ELO databases and a dataframe that describes the draw

Usage

1
2
3
4
5
6
7
pm_eloRunTourneyELO(
  tournamentSetup,
  keyCols = c("roundNum", "player_name", "opponent_name", "match_date", "Tournament"),
  simCols = c("predictions", "simWinner", "winnerName"),
  roundeloDB,
  roundmatchDB
)

Arguments

tournamentSetup

A dataframe strucutred to describe the tournament

keyCols

Key columns for reporting results (DO NOT CHANGE FOR NOW)

simCols

Key columsn for debugging results (DO NOT CHANGE FOR NOW)

eloDB

a dictionary of player ELO scores, or NA to create a new one

matchDB

a dictionary of matches a player has played, or NA

Value

A dataframe with winners (simWinner, winnerName) for each match in the Tournament


quietsnooze/pmpackage documentation built on March 7, 2021, 3:50 p.m.