Description Usage Arguments Details Value See Also Examples

Creates a scatter plot for each pair of variables in given data. Observations in different classes are represented by different colors and symbols.

1 2 3 4 |

`data` |
A numeric vector, matrix, or data frame of observations. Categorical variables are not allowed. If a matrix or data frame, rows correspond to observations and columns correspond to variables. |

`classification` |
A numeric or character vector representing a classification of observations
(rows) of |

`symbols` |
Either an integer or character vector assigning a plotting symbol to each
unique class in |

`colors` |
Either an integer or character vector assigning a color to each
unique class in |

`labels` |
A vector of character strings for labeling the variables. The default
is to use the column dimension names of |

`CEX` |
An argument specifying the size of the plotting symbols. The default value is 1. |

`gap` |
An argument specifying the distance between subplots (see |

`x,y` |
The x and y co-ordinates with respect to a graphic device having
plotting region coordinates |

`class` |
The class labels. |

`box` |
A logical, if |

`col, pch` |
The colors and plotting symbols appearing in the legend. |

`...` |
For a |

The function `clPairs()`

draws scatter plots on the current graphics device for each combination of variables in `data`

. Observations of different classifications are labeled with different symbols.

The function `clPairsLegend()`

can be used to add a legend. See examples below.

The function `clPairs()`

invisibly returns a list with the following components:

`class` |
A character vector of class labels. |

`col` |
A vector of colors used for each class. |

`pch` |
A vector of plotting symbols used for each class. |

`pairs`

,
`coordProj`

,
`mclust.options`

1 2 3 4 5 6 |

mclust documentation built on Nov. 17, 2018, 5:04 p.m.

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.