get_matchups {comperes}R Documentation

Get matchups from competition results

Description

This function powers computing Head-to-Head values (both long and matrix).

Usage

get_matchups(cr_data)

Arguments

cr_data

Competition results ready for as_longcr().

Details

get_matchups() returns a tibble of all matchups (pairs of players from one game) actually present in cr_data (including matchups of players with themselves). It has following columns:

Important notes:

Value

A widecr for games with two players.

See Also

Long format of Head-to-Head values.

Matrix format of Head-to-Head values.

Examples

get_matchups(ncaa2005)

[Package comperes version 0.2.7 Index]