image.dist | R Documentation |
Image plot of a 'dist' object.
## S3 method for class 'dist'
image(x, grad, lab = TRUE, ...)
x |
An object of class 'dist', not a similarity matrix. |
grad |
Gradient to use for ordering the observations in |
lab |
Labels to use at the left axis, can be a character vector. |
... |
Other graphical parameters passed to |
Creates an image plot as a side effect.
Invisibly returns plotted values.
Peter Solymos <solymos@ualberta.ca>
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.