create_index_lookuptable {bpcs}R Documentation

Create a lookup table of names and indexes Note that the indexes will be created in the order they appear. For string this doesnt make much difference but for numbers the index might be different than the actual number that appears in names

Description

Create a lookup table of names and indexes Note that the indexes will be created in the order they appear. For string this doesnt make much difference but for numbers the index might be different than the actual number that appears in names

Usage

create_index_lookuptable(d, player0, player1)

Arguments

d

A data frame containing the observations. The other parameters specify the name of the columns

player0

The name of the column of data contains player0

player1

The name of the column of data contains player0

Value

A dataframe of a lookup table with columns Names and Index


[Package bpcs version 1.0.0 Index]