What Will Be The Output Of The Following R Codep Pre Langrsplus #164
What will be the output of the following R code?</p> <pre><code class="language-rsplus"> > x <- 1:3 > y <- 10:12 > cbind(x, y) </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?
> x <- 1:3 > y <- 10:12 > cbind(x, y)
x y [1,] 6 10 [2,] 7 11 [3,] 8 12
x y [1,] 1 10 [2,] 2 11 [3,] 3 12
x y [1,] 1 4 [2,] 2 5 [3,] 3 6
x y [1,] 1 6 [2,] 2 5 [3,] 3 10