coor {Irescale} | R Documentation |
coor
Transforms a x,y position in a cartesian plane into a position in a 1D array.
coor(i, j, size)
i |
the value of the row. |
j |
the value of the column. |
size |
the maximum between row and columns of the matrix. |
an integer value that represents the position in the array.
pos<-coor(1,1,10)