fakename_gen: Create the Fakename and constant names in the model

Description Usage Arguments Value

View source: R/fakename_gen.R

Description

This function takes a dataframe/vector list as an input and create the standard column and row names. The column format is "X(numeric)" like "X1" and "X2". Rows are labelled as 1,2,3,4...

Usage

1
fakename_gen(datafile, train_test = T, outcome_var = NA, num_outcome = 0)

Arguments

datafile

dataframe or vector list to change the names

train_test

to determine if the data contain separate train and test files

outcome_var

to determine if the dataset has any outcome variable

num_outcome

to detemrine the number of outcome varaibles. It takes variable name as input

Value

dataframe or vectorlist with changed names as well as list of realnames


rahiuhn/HDSI documentation built on Dec. 22, 2021, 12:01 p.m.