Q7
In R, how is a matrix created using the matrix() function?
A.
matrix(1:9, nrow = 3, ncol = 3)
AnswerB.
create.matrix(1:9, rows = 3, columns = 3)
C.
[1, 2, 3; 4, 5, 6; 7, 8, 9]
D.
mat(1:9, 3, 3)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board