pixelsToX: RAnEnExtra::pixelsToX

Description Usage Arguments Value

View source: R/pixelsToX.R

Description

RAnEnExtra::pixelsToX convert the pixel index to its x coordinate counting row-wise. The start matters because it sets the offset. The returned numbers are counted from 1.

Usage

1
pixelsToX(pixels, xgrids.total, start)

Arguments

pixels

a vector of indices of pixels that will get divided

xgrids.total

total number of x.

start

the counting start of pixels.

Value

x coordinate(s)


Weiming-Hu/RAnEnExtra documentation built on Sept. 26, 2021, 6:44 a.m.