Posts by Marco Antonio Oliveira • 31 points
1 post
-
3
votes1
answer45
viewsQ: Loop with R arrays
I need to create a matrix that has all the coordinates for a 128x128 matrix in R if it were a 3x3 matrix, ex: 1 2 3 1 a b c 2 d e f 3 g h i I would need the following matrix x y 1 1 1 2 1 2 3 1 3 4…