Data Frame Flashcards
1
Q
What is the function to load data frame?
A
read.table(“file.name”, sep = , header = , stringsAsFactors = )
2
Q
What is “sep” function the load data frame command do?
A
Tells R what distinguishes your values (separaters tells R how to look at the data frame and how to structure the data frame)
3
Q
What is “header” function the load data frame command do?
A
Tells R whether your data frame has headers or not (header signals whether the first row is values or variables name)
4
Q
What is “stringsAsFactors” function the load data frame command do?
A
Whether R should not call you string variables as factors or not