Vidyalelo
R Programming · Q40

Data Structures in R Programming

Programming · R Programming · question 40

Q40

Which of the following extracts first element from the following R list? > x <- list(foo = 1:4, bar = 0.6)

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

Answer: Option A

Solution

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