Learn R Programming

mefa (version 3.2-0)

image.dist: Image Plot of a 'dist' Object

Description

Image plot of a 'dist' object.

Usage

## 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.

Examples

Run this code
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)

Run the code above in your browser using DataLab