Using R Flashcards
What is the order of operation of the following numerical operators? / division \+ summation - subtraction * multiplication ^ power
^ power * multiplication / division \+ summation - subtraction
What is the order of operation of the following numerical operators? / division \+ summation - subtraction * multiplication ^ power
^ power * multiplication / division \+ summation - subtraction
!=
What is the meaning of these two logical operators:
- Not equal to
- Equal to
In R, what does | mean?
OR
What is the default number of decimal places for the round() function?
0
Name the three types of variables in R
- Numeric
- Character
- Logical
In R, what is the assignment operator?
In R, a variable can begin with a non-alpha-numeric character?
Only a period, but not other non-alpha-numeric characters
In R, what is the name for a variable that contains more than one variable?
A vector
In R, the values within a vector recalled what?
Elements
In R, how would you use logical statements to call individual elements from a vector?
Like this:
vector name [vector name <0.90]
Which pulls all the elements in that vector that are less than 0.9
In R, what does | mean?
OR
What is the default number of decimal places for the round() function?
0
In R, what function do you use to load a package
library()
In R, what is the assignment operator?