Examveda

What will be the output of the following R code?
> x <- list(aardvark = 1:5)
> x[["a", exact = FALSE]]

A. 1 2 3 4 5

B. 2 3 5

C. 1 3 3 5

D. 1 2 3

Answer: Option A


This Question Belongs to R Programming >> Data Structures In R Programming

Join The Discussion

Related Questions on Data Structures in R Programming