[R] Surprise when mapping matrix to image

Liaw, Andy andy_liaw at merck.com
Fri Aug 27 05:08:07 CEST 2004


> From: Richard A. O'Keefe
[snip]
> Given the wide range of ways that the x, y, z arguments can be passed
> to image(), it would actually make sense to have some kind of 
> flip and/or
> mirror operations specified via an argument to image().
> The source code of image is available (image.default) so it 
> wouldn't be
> a lot of work for someone who wants it to produce such a thing.

I'd suggest adding an `as.matrix' argument to image.default.

Best,
Andy




More information about the R-help mailing list