Learn R Programming

archetypes (version 2.0-2)

panorama.archetypes: Panorma plot for archetypes.

Description

Panorma plot for archetypes.

Usage

## S3 method for class 'archetypes':
panorama(object, data, distfn=distEuclidean, xlab="Index", ylab="Distance",
    order=TRUE, col=1, pch=1, cex=1, atypes.col=(seq(length =
    nparameters(object)) + 1), atypes.pch=rep(19, nparameters(object)),
    atypes.cex=rep(1, nparameters(object)), ylim, ...)

Arguments

object
An archetypes-related object.
data
A matrix or data frame.
distfn
Distance function.
xlab
Label of xaxis.
ylab
Label of yaxis.
order
Order the distances.
col
Color of distances.
pch
Plot character of distances.
cex
magnification of the distances.
atypes.col
Color of archetype distances.
atypes.pch
Plot character of archetype distances.
atypes.cex
Magnification of the archetype distances.
ylim
The y limits of the plot.
...
Passed to the underlying plot call.

Examples

Run this code
data(toy)
a <- archetypes(toy, 3)
panorama(a, toy)

## See demo(robust-ozone).

Run the code above in your browser using DataLab