Vidyalelo
R Programming · Q94

Data Structures in R Programming

Programming · R Programming · question 94

Q94

Which of the following extracts first element from the following R vector? > x <- c("a", "b", "c", "c", "d", "a")

A.
x[10]
B.
x[1]
Answer
C.
x[0]
D.
x[2]

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board