Vidyalelo
R Programming · Q117

R Programming Basics

Programming · R Programming · question 117

Q117

Which of the following is a valid assignment?

A.
> m <- matrix(nrow = 2, ncol = 3)
Answer
B.
> m <- matrix(nrow = 2, ncol = 3.5)
C.
> m <- mat(nrow = 2, ncol = 3)
D.
> m <- mat(nrow = 2, ncol = 5)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board