Learn R Programming

archetypes (version 2.0-2)

xyplot: Plot of two-dimensional data and archetypes.

Description

Plot of two-dimensional data and archetypes.

Usage

## S3 method for class 'archetypes':
xyplot(x, y, data.col=1, data.pch=19, data.bg, atypes.col=2, atypes.pch=19,
    ahull.show=TRUE, ahull.col=atypes.col, chull, chull.col=gray(0.7),
    chull.pch=19, adata.show=FALSE, adata.col=3, adata.pch=13,
    link.col=data.col, link.lty=1, ...)
## S3 method for class 'weightedArchetypes':
xyplot(x, y, data.col=1, data.pch=21, data.bg=gray, link.col, link.lty,
    weights.type="weights", ...)
## S3 method for class 'robustArchetypes':
xyplot(x, y, ...)
## S3 method for class 'stepArchetypes':
xyplot(x, y, data.col=gray(0.7), data.pch=19, atypes.col=(seq_len(length(x) *
    length(x[[1]])) + 1), atypes.pch=19, ahull.show=TRUE,
    ahull.col=atypes.col, ...)

Arguments

x
An archetypes object.
y
A matrix or data frame.
data.col
Color of data points.
data.pch
Type of data points.
data.bg
Background of data points.
atypes.col
Color of archetypes points.
atypes.pch
Type of archetypes points.
ahull.show
Show approximated convex hull.
ahull.col
Color of approximated convex hull line.
chull
An integer vector giving the indices of the points from data lying on the convex hull.
chull.col
Color of convex hull points.
chull.pch
Type of convex hull points.
adata.show
Show approximated data with link to the original data.
adata.col
Color of approximated data points.
adata.pch
Type of approximated data points.
link.col
Color of link between approximated and original data points.
link.lty
Line type of link between approximated and original data points.
...
Passed to the underlying plot functions.
weights.type
Weights to display; see weights.archetypes.

Value

  • xyplot.archetypes: Undefined. xyplot.stepArchetypes: Undefined.