xyplot.archetypes: Plot of two-dimensional data and archetypes.

Description Usage Arguments Value Note

View source: R/archetypes-xyplot.R

Description

Plot of two-dimensional data and archetypes.

Usage

1
2
3
4
5
6
## S3 method for class 'archetypes'
xyplot(x, y, data.col = 1, data.pch = 19,
  data.bg = NULL, atypes.col = 2, atypes.pch = 19, ahull.show = TRUE,
  ahull.col = atypes.col, chull = NULL, chull.col = gray(0.7),
  chull.pch = 19, adata.show = FALSE, adata.col = 3, adata.pch = 13,
  link.col = data.col, link.lty = 1, ...)

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.

Value

Undefined.

Note

The link between approximated and original data is based on an idea and Matlab source code of Bernard Pailthorpe.


archetypes documentation built on May 29, 2017, 1:27 p.m.