Usage
pimage(x, order = NULL, col = NULL, main ="", xlab = "", ylab = "",
axes = TRUE, range=NULL, colorkey=FALSE, ..., newpage=TRUE, pop=TRUE)## S3 method for class 'matrix':
pimage(x, order=NULL, col=NULL, main="", xlab="", ylab="",
axes=TRUE, range=NULL, colorkey=FALSE, ..., newpage=TRUE, pop=TRUE)
## S3 method for class 'dist':
pimage(x, order = NULL, col = NULL, main="", xlab="", ylab="",
axes = TRUE, range=NULL, colorkey=FALSE,
upper.tri = TRUE, lower.tri = TRUE, ..., newpage=TRUE, pop=TRUE)
Arguments
x
a matrix or an object of class dist
.
order
an object of class ser_permutation
. If NULL
the order
in x
is plotted.
col
a list of colors used. If NULL
, a gray scale is used (for
matrix larger values are displayed darker and for dist
smaller
distances are darker). For matrices containing logical data, black and
white is used.
xlab, ylab
labels for the x and y axes.
axes
a logical indicating whether to add axes using the
labels of x
. The default value (TRUE
) shows only axes
if the dimension is below 10 (so it is reasonable to show labels).
range
vector with two elements giving the range (min, max) for
representing the values in the matrix.
colorkey
logical; add a colorkey?
upper.tri, lower.tri
a logical indicating whether to show the
upper or lower triangle of the distance matrix.
...
further arguments passed on to image
in graphics. newpage, pop
two logical. Start plot on a new page and pop the viewports after plotting (see Grid).