Sail E0 Webinar
Question
What would be the output of the following code ?m - matrix(nrow = 2, ncol = 3)dim(m)
Options:
A .  3 2
B .  2 3
C .  2 2
D .  None of the mentioned
Answer: Option B


Matrices are constructed column-wise.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers