Learn R Programming

mefa (version 3.2-9)

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

Description

Image plot of a 'dist' object.

Usage

# S3 method for dist
image(x, grad, lab = TRUE, ...)

Value

Creates an image plot as a side effect.

Invisibly returns plotted values.

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.

Author

Peter Solymos <solymos@ualberta.ca>

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