Learn R Programming

bpcs (version 1.0.0)

create_array_of_par_names: Create an array with the parameter name and to what player/cluster it refers to in the order stan presents

Description

Create an array with the parameter name and to what player/cluster it refers to in the order stan presents

Usage

create_array_of_par_names(par, lookup_table, cluster_lookup_table = NULL)

Arguments

par

name of the parameter

lookup_table

lookup table of the players

cluster_lookup_table

a lookup table of the clusters

Value

a data. frame where we change the names in the variable colum to the corresponding parameter_name from the lookup table