Que: What will be the output of the following R code?

> m <- matrix(nrow = 2, ncol = 3)
 > dim(m)
a. 3 2
b. 2 3
c. 2 2
d. 4 5
Answer: 2 3

Leave a Comment