create_index_predictors_with_lookup_table: Receives one column with player names and returns a data...

Description Usage Arguments Value

View source: R/bpc_helpers_indexes.R

Description

Receives one column with player names and returns a data frame with the relevant index columns based on a given lookup table To be used with the predictors data frame

Usage

1

Arguments

d

a data frame of the predictors

player

The name of the column of data data contains the player

lookup_table

a lookup table data frame

Value

A dataframe with the additional column 'player_index'


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