Package: PremPredict 0.4.7

Robin Penfold

PremPredict: Predict the Premier League

Provides functions to predict the outcome of Premier League games and seasons.

Authors:Robin Penfold [aut, cre]

PremPredict_0.4.7.tar.gz
PremPredict_0.4.7.zip(r-4.7)PremPredict_0.4.7.zip(r-4.6)PremPredict_0.4.7.zip(r-4.5)
PremPredict_0.4.7.tgz(r-4.6-any)PremPredict_0.4.7.tgz(r-4.5-any)
PremPredict_0.4.7.tar.gz(r-4.7-any)PremPredict_0.4.7.tar.gz(r-4.6-any)
PremPredict_0.4.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
PremPredict/json (API)
NEWS

# Install 'PremPredict' in R:
install.packages('PremPredict', repos = c('https://p0bs.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/p0bs/prempredict/issues

Pkgdown/docs site:https://p0bs.github.io

Datasets:
  • example_thisSeason - A dataset containing the results of the Premier League from this season so far (as committed on 2025-04-21).
  • previous_seasons - A dataset containing the results of the Premier League from previous seasons.
  • schedule_thisSeason - A dataset containing the schedule of the Premier League this.
  • teams - A dataset containing the teams in the latest Premier League season.

On CRAN:

Conda:

2.40 score 3 scripts 18 exports 46 dependencies

Last updated from:0b232d6f88. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK132
source / vignettesOK165
linux-release-x86_64OK137
macos-release-arm64OK195
macos-oldrel-arm64OK72
windows-develOK106
windows-releaseOK88
windows-oldrelOK77
wasm-releaseOK123

Exports:calc_game_latestcalc_points_expected_remainingcalc_points_expected_totalcalc_table_currentget_footballDataget_openDataget_openData_scheduleget_resultsget_results_filteredmodel_extract_parametersmodel_parameters_unplayedmodel_prepare_framemodel_runprint_table_currentrun_simulationssimulate_gamessimulate_outcomessimulate_standings

Dependencies:bitbit64clicliprcpp11crayondplyrevaluateforcatsgenericsgluegnmhighrhmsjsonliteknitrlatticelifecyclelubridatemagrittrMASSMatrixnnetpillarpkgconfigprettyunitsprogresspurrrqvcalcR6readrrelimprlangstringistringrtibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Find the index of the latest game so far in this Premier League seasoncalc_game_latest
Calculate the points expected to be gained by each team in the remainder of this Premier League seasoncalc_points_expected_remaining
Calculate the points expected to be gained by each team across this Premier League seasoncalc_points_expected_total
Calculate the result of one match, given model parameters and a uniform random variate.calc_points_simulated_match
Calculate the current table for this Premier League seasoncalc_table_current
A dataset containing the results of the Premier League from this season so far (as committed on 2025-04-21).example_thisSeason
Get the latest available results for the Premier League in a given seasonget_footballData
Get the latest available results for the Premier League in a given seasonget_openData
Get the latest available schedule for the Premier League in a given seasonget_openData_schedule
Get the Premier League results for the desired seasonsget_results
Get the Premier League results for the desired seasonsget_results_filtered
Run the prediction modelmodel_extract_parameters
Assign the model parameters for unplayed games in this Premier League season.model_parameters_unplayed
Prepare the modelframe in order to run the prediction modelmodel_prepare_frame
Run the prediction modelmodel_run
A dataset containing the results of the Premier League from previous seasons.previous_seasons
Print the current table for this Premier League seasonprint_table_current
Reformat the outcomes data for improved presentation.reformat_outcomes
Assign the model parameters for unplayed games in this Premier League season.run_simulations
A dataset containing the schedule of the Premier League this.schedule_thisSeason
Assign the model parameters for unplayed games in this Premier League season.simulate_games
Show the likelihoods of all possible standings for all clubs over this Premier League season.simulate_outcomes
Simulate the standings over this Premier League season.simulate_standings
A dataset containing the teams in the latest Premier League season.teams