Image Plot of a 'dist' Object

Description

Image plot of a 'dist' object.

Usage

1
2
## S3 method for class 'dist'
image(x, grad, lab = TRUE, ...)

Arguments

x

An object of class 'dist', not a similarity matrix.

grad

Gradient to use for ordering the observations in x.

lab

Labels to use at the left axis, can be a character vector.

...

Other graphical parameters passed to image.

Value

Creates an image plot as a side effect.

Invisibly returns plotted values.

Author(s)

Peter Solymos <solymos@ualberta.ca>

Examples

1
2
3
4
5
data(dol.count, dol.samp)
m <- mefa(stcs(dol.count), dol.samp)
d <- dist(m$xtab)
g <- with(m$samp, interaction(microhab, method))
image(d)