Package: comperes 0.2.7.9000

comperes: Manage Competition Results

Tools for storing and managing competition results. Competition is understood as a set of games in which players gain some abstract scores. There are two ways for storing results: in long (one row per game-player) and wide (one row per game with fixed amount of players) formats. This package provides functions for creation and conversion between them. Also there are functions for computing their summary and Head-to-Head values for players. They leverage grammar of data manipulation from 'dplyr'.

Authors:Evgeni Chasnovski [aut, cre]

comperes_0.2.7.9000.tar.gz
comperes_0.2.7.9000.zip(r-4.5)comperes_0.2.7.9000.zip(r-4.4)comperes_0.2.7.9000.zip(r-4.3)
comperes_0.2.7.9000.tgz(r-4.4-any)comperes_0.2.7.9000.tgz(r-4.3-any)
comperes_0.2.7.9000.tar.gz(r-4.5-noble)comperes_0.2.7.9000.tar.gz(r-4.4-noble)
comperes_0.2.7.9000.tgz(r-4.4-emscripten)comperes_0.2.7.9000.tgz(r-4.3-emscripten)
comperes.pdf |comperes.html
comperes/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/echasnovski/comperes/issues

Datasets:
  • hp_survey - Results of Harry Potter Books Survey
  • ncaa2005 - Example competition results from 2005 NCAA football season

On CRAN:

6.28 score 8 stars 1 packages 40 scripts 329 downloads 28 exports 21 dependencies

Last updated 2 years agofrom:171bd05487. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:%>%as_longcras_tibbleas_widecrget_matchupsh2h_funsh2h_longh2h_matis_longcris_pairgamesis_widecrjoin_game_summaryjoin_item_summaryjoin_player_summarylevels2long_to_matmat_to_longnum_winssummarise_gamesummarise_itemsummarise_playersummarize_gamesummarize_itemsummarize_playersummary_funsto_h2h_longto_h2h_matto_pairgames

Dependencies:clicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Formats of Competition Results

Rendered fromformats.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2018-03-17
Started: 2018-03-17

Manipulate Competition Results

Rendered frommanipulation.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2018-10-20
Started: 2018-03-17

Readme and manuals

Help Manual

Help pageTopics
comperes: Manage Competition Resultscomperes-package comperes
Convert between long pair-value data and matrixconvert-pair-value long_to_mat mat_to_long
Get matchups from competition resultsget_matchups
Common Head-to-Head functionsh2h_funs
Compute long format of Head-to-Head valuesas_tibble.h2h_long h2h_long to_h2h_long
Compute matrix format of Head-to-Head valuesh2h_mat to_h2h_mat
Results of Harry Potter Books Surveyhp_survey
Compute item summaryitem-summary summarise_game summarise_item summarise_player summarize_game summarize_item summarize_player
Join item summaryitem-summary-join join_game_summary join_item_summary join_player_summary
Levels of vectorlevels2
Long format of competition resultsas_longcr as_tibble.longcr is_longcr longcr
Example competition results from 2005 NCAA football seasonncaa2005
Competition results with games between two playersis_pairgames pairgames to_pairgames
Common item summary functionssummary_funs
Wide format of competition resultsas_tibble.widecr as_widecr is_widecr widecr