Q10
What is the correct way to access the second element of a vector named my_vector in R?
A.
my_vector(2)
B.
my_vector[2]
AnswerC.
my_vector.2
D.
my_vector[[2]]
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board