match_player_names_to_lookup_table: Receives two columns with player names and returns a data...

Description Usage Arguments Value

View source: R/bpc_helpers_indexes.R

Description

Receives two columns with player names and returns a data frame with the relevant index columns based on a given lookup table

Usage

1
match_player_names_to_lookup_table(d, player0, player1, lookup_table)

Arguments

d

a data frame

player0

The name of the column of data data contains player0

player1

The name of the column of data data contains player1

lookup_table

a lookup table data frame

Value

A dataframe with the additional columns 'player0_index' and 'player1_index' that contains the indexes


bpcs documentation built on Dec. 15, 2020, 5:23 p.m.