In R, type the expression that returns the second and third elements of amount4.
In R, type the expression that returns the second and third elements of amount4.
Answer
amount4[2:3]
2:3 is the position vector 2 3; the result is [1] 180 760. Positions count from 1.