Description Usage Arguments Details Value
RAnEnExtra::pixelsFromXs convert x and y to pixel index
1 | pixelsFromXs(x, y, xgrids.total, start)
|
x |
a vector of x coordinates of the pixels starting from 1 |
y |
a vector of y coordinates of the pixels starting from 1 |
xgrids.total |
total number of x. |
start |
the counting start of pixels. |
convert x and y coordinates index to pixels index. Assume that x and y coordinates index are counting from 1. Pixels start counting from the argument start, and they are counted row-wise.
the index of the pixel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.