Description Usage Arguments Value Note

View source: R/archetypes-xyplot.R

Plot of two-dimensional data and archetypes.

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, ...)
``` |

`x` |
An |

`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 |

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

Undefined.

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.