Write the R commands to construct a matrix of 3 rows and 2 columns from the elements (2, 4, 2, 1, 5, 7) and combined the matrix [3,7] with the constructed matrix. code example
Example: matrix in r
newMatrix = cbind(c(1,2,3),c(4,5,6))
newMatrix = cbind(c(1,2,3),c(4,5,6))