get_matchups: Get matchups from competition results

Description Usage Arguments Details Value See Also Examples

View source: R/utils.R

Description

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

Usage

1
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

1

echasnovski/comperes documentation built on May 15, 2018, 9:30 p.m.