xyplot.archetypes {archetypes}R Documentation

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 = 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.


[Package archetypes version 2.2-0.1 Index]