Q21
How is a list created in R?
A.
list(a = 1, b = "hello", c = TRUE)
AnswerB.
c(1, "hello", TRUE)
C.
data.frame(a = 1, b = "hello", c = TRUE)
D.
matrix(c(1, "hello", TRUE), nrow = 1)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board