m <- matrix(1:6, nrow = 2, ncol = 3) m m2 <- matrix(1:6, nrow = 2, byrow = TRUE) m2
Click Run to execute this code.