πŸ“Š R Programming
Q. What will be the output of the following R code?
> x <- list(foo = 1:4, bar = 0.6, baz = "hello")
> name <- "foo"
> x[[name]]
  • (A) 1 2 3 4
  • (B) 0 1 2 3
  • (C) 1 2 3 4 5
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1 2 3 4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
140
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate