data(iris)
x <- seq(from=10, to=16, by=2) M <- matrix(data=x, nrow=2, ncol=2, byrow=TRUE) M
[,1] [,2] [1,] 10 12 [2,] 14 16
Matrix
Matrix Index