replace_parameter_index_with_names: Replace the name of the parameter from index to name using a...

Description Usage Arguments Value

View source: R/bpc_helpers_indexes.R

Description

Replace the name of the parameter from index to name using a lookup_table Receives a data frame and returns a dataframe.

Usage

1
2
3
4
5
6
7
8
replace_parameter_index_with_names(
  d,
  column,
  par,
  lookup_table,
  cluster_lookup_table = NULL,
  predictors_lookup_table = NULL
)

Arguments

d

dataframe

column

name of the colum

par

name of the parameter

lookup_table

lookup table of the players

cluster_lookup_table

a lookup table of the predictors

predictors_lookup_table

a lookup table for the predictors

Value

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


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