Beginner
R
Q23 / 100
How do you select the first element of a vector named v?
Correct! Well done.
Incorrect.
The correct answer is B) v[1]
B
Correct Answer
v[1]
Explanation
R uses 1-based indexing, so the first element of a vector is accessed with v[1], not v[0].
Progress
23/100