match_cluster_names_to_cluster_lookup_table: Receives a column with cluster names and returns a data frame...

Description Usage Arguments Value

View source: R/bpc_helpers_indexes.R

Description

Receives a column with cluster names and returns a data frame with the relevant index column based on a given cluster lookup table

Usage

1
match_cluster_names_to_cluster_lookup_table(d, cluster, cluster_lookup_table)

Arguments

d

a data frame

cluster

The name of the column of data data contains player0

cluster_lookup_table

a lookup table for the cluster

Value

A dataframe with the additional columns 'cluster_index' that contains the indexes


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