coor: Transforms a x,y position in a cartesian plane into a...

Description Usage Arguments Value Examples

View source: R/rectifiedI.R

Description

coor Transforms a x,y position in a cartesian plane into a position in a 1D array.

Usage

1
coor(i, j, size)

Arguments

i,

the value of the row.

j,

the value of the column.

size,

the maximum between row and columns of the matrix.

Value

an integer value that represents the position in the array.

Examples

1
pos<-coor(1,1,10)

Irescale documentation built on Nov. 22, 2019, 1:07 a.m.