Package description

comperes-package

comperes: Manage Competition Results

Competition results

is_longcr() as_longcr() as_tibble(<longcr>)

Long format of competition results

is_widecr() as_widecr() as_tibble(<widecr>)

Wide format of competition results

to_pairgames() is_pairgames()

Competition results with games between two players

get_matchups()

Get matchups from competition results

h2h_long() to_h2h_long() as_tibble(<h2h_long>)

Compute long format of Head-to-Head values

h2h_mat() to_h2h_mat()

Compute matrix format of Head-to-Head values

h2h_funs

Common Head-to-Head functions

General functionality

levels2()

Levels of vector

long_to_mat() mat_to_long()

Convert between long pair-value data and matrix

summarise_item() summarise_game() summarise_player() summarize_item() summarize_game() summarize_player()

Compute item summary

join_item_summary() join_game_summary() join_player_summary()

Join item summary

summary_funs

Common item summary functions

Data

ncaa2005

Example competition results from 2005 NCAA football season

hp_survey

Results of Harry Potter Books Survey