What Will Be The Output Of The Following R Codep Pre Langrsplus #162
What will be the output of the following R code?</p> <pre><code class="language-rsplus"> > m <- matrix(1:6, nrow = 2, ncol = 3) > m </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 Nuts and Bolts and Getting Data In and Out - Data Types - Quiz No.4.
What will be the output of the following R code?
> m <- matrix(1:6, nrow = 2, ncol = 3) > m
[,1] [,2] [,3] [1,] 1 3 5 [2,] 2 4 6
[,0] [,1] [,2] [1,] 1 3 5 [2,] 2 4 6
[,1] [,2] [,3] [1,] 1 3 6 [2,] 2 4 5
[,5] [,6] [,7] [1,] 1 3 6 [2,] 2 4 5