grid.imageFun {RGraphics}R Documentation

Draw an Image

Description

Draws an array of nrow by ncol rectangles.

Usage

grid.imageFun(nrow, ncol, cols, byrow=TRUE) 

Arguments

nrow, ncol Number of rows/columns in the image.
cols Colors for the cells of the image (will be recycled).
byrow Logical value indicating whether colors should be allocated to cells across rows or down columns.

[Package RGraphics version 1.0-8 Index]