Re: [R] Image as a vector of values

From: Jim Lemon <>
Date: Fri, 22 Apr 2011 21:16:48 +1000

On 04/22/2011 06:45 PM, piravi wrote:
> hi:)
> An image may be viewed as a vector of pixels where the value of each entry
> in the vector
> is the grayscale value of the corresponding pixel.
> How can I do this using R project?
Hi Piravi,

image (graphics) or color2D.matplot (plotrix)

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 22 Apr 2011 - 11:19:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Apr 2011 - 13:40:32 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive