Here's a question for #RStats folks: Below are shown two ways of selecting an element from a matrix, should you expect the same output from the two commands in R? m = matrix(1:9, nrow = 3) m # First method m[i=1, j=2] # Second method m[j=2, i=1]
1
4
3
0
0