powered by
Dim(x)
x <- matrix(1:12,3,4) Dim(x) # 3 4 y <- rep(0,5) Dim(y) # 5
Run the code above in your browser using DataLab