L8 Flashcards
1
Q
In R, what is the advantage of using a script?
A
We don’t have to write each line and can execute multiples lines at ones
We can save the script and back it up.
You can leave notes so you know what you were doing.
2
Q
What does ## do in R in a script
A
Makes it a comment and wont run the line of code
3
Q
Another name for scripts are
A
Smart Text Documents
4
Q
What does “<-“ do in R?
A
Creates a variable
5
Q
What does “x <- c(“Y”, “Z”)” do in R?
A
Combines all the words in between the brackets into a list to create a variable called X
6
Q
The rest of this lecture focuses on R markdown, search in it to find anything you need in the exam
A
Good Luck!