6. Write a R program to create a 5 x 4 matrix , 3 x 3 matrix with labels and fill the matrix by rows and 2 × 2 matrix with labels and fill the matrix by columns. 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))