Reading
Read the following sections of IFDAR.
- Chapter 4: sections 4.7, 4.8 and 4.9
Questions
- You learned about comparison and logical operators in the reading. In
R, what is the operator for each of the following:
- equality,
- greater than,
- greater than or equal to,
- not equal to,
- or,
- and.
- Consider the following vector:
What does the following do to x?