[R] gray level values

Arnau Mir Torres
Wed, 22 Mar 2006 11:47:49 -0000

Hello.


I have a matrix whit n1 rows and n2 columns called example.
If I do
image(example), R shows me an image with 480x480 pixels.

How can I obtain the gray level of the pixel of row i and column j?

Thanks,

Arnau.