Data Frame Flashcards

1
Q

What is the function to load data frame?

A

read.table(“file.name”, sep = , header = , stringsAsFactors = )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly