Provides methods for proper plotting objects of class matrix and
dist.
Usage
## S3 method for class 'matrix':
image(x, xlab = "", ylab = "", ...)
## S3 method for class 'dist':
image(x, xlab = "", ylab = "", ...)
Arguments
x
an object of class matrix or dist.
xlab, ylab
labels for the x and y axis.
...
further arguments to image.
Details
Plots an object of class matrix in its original row and column
orientation. This means, in a plot the columns become the x-coordinates
and the reversed rows the y-coordinates.
If x is of class dist it is converted to full-storage
representation and dispatched to the matrix method.