This is an internal functuon. This function opens a file and reads the data into a dataframe.

openfile(fileLocation, separator, header, commentChar)

Arguments

fileLocation

location to the file to be opened

separator

variable that is used to separate columns

header

true/false used to open a file with or without a header

commentChar

character used as commented lines to be ignored in the file

Value

Returns nothing