Vidyalelo
R Programming · Q21

Introduction to R Programming

Programming · R Programming · question 21

Q21

How is a list created in R?

A.
list(a = 1, b = "hello", c = TRUE)
Answer
B.
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