Helper functions for R
Access a table column by its name
Suppose there is a Table stored in the variable myTable and the user wants to access the column named Data:
myTable$Data
Discover the type of a variable
typeof( variableName )
Convert a variable to Character
Suppose there is a Table stored in the variable myTable and the column Names refer to a column of Factors
myTable$Names <- as.character( myTable$Names )
Read a .CSV file to Table
Suppose the file to be read is located at C:/Users/Default/Documents/information.csv
newTable <- read.csv( "C:/Users/Default/Documents/information.csv", stringsAsFactors = FALSE )