data.image {mining}R Documentation

Data Image

Description

Each value in a data matrix is represented by a colored pixel.

Usage

data.image(x,reorder=T,scale=T,col=YR.colors(64),...)

Arguments

x a matrix or data frame.
reorder If TRUE, the rows and columns are reordered so that the data along each row and each column follows a linear trend. Can also be a vector of two logicals, indicating separately whether to reorder rows and/or columns.
scale If TRUE, each column is scaled to have minimum 0 and maximum 1.
col a vector of colors to use for representing values.
... extra arguments to image.default.

Author(s)

Tom Minka

References

M. C. Minnotte and R. W. West. "The Data Image: A Tool For Exploring High Dimensional Data Sets." Proceedings of the ASA Section on Statistical Graphics, 1998. http://citeseer.nj.nec.com/72085.html http://math.usu.edu/~minnotte/research/pubs.html

See Also

YR.colors

Examples

data(USJudgeRatings)
data.image(USJudgeRatings,col=RC.colors(32))

[Package Contents]