data_image: Data Image

View source: R/plot.R

data_imageR Documentation

Data Image

Description

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

Usage

data_image(x, las = 1, reorder = T, scale = T, ...)

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.

...

extra arguments to image.default.

col

a vector of colors to use for representing values.

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))


paulemms/datamining documentation built on March 1, 2023, 4:01 p.m.