single_series_solver | R Documentation |
Given current seriess and a series number and home and away teams, either return true series winner, random series winner (with home/away wins considered) or random series winner
single_series_solver(
series_number,
currentSeries,
homeTeam,
awayTeam,
homeAwayOdds = NULL,
params = NULL
)
series_number |
Series number from 1:15 |
currentSeries |
the full list of series returned from getAPISeries |
homeTeam |
Home Team extracted from summary_results |
awayTeam |
away Team extracted from summary_results |
homeAwayOdds |
if calculated, the odds of a home or away team win |
params |
The named list containing m, rho, beta, eta, and k. See updateDC for information on the params list |
a series winner (team name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.