wine {ContaminatedMixt} | R Documentation |

## Wine Data Set

### Description

These data are the results of a chemical analysis of wines grown in the same region in Italy but derived from three different cultivars.
The analysis determined the quantities of 13 constituents found in each of the three types of wine: Barolo, Grignolino, Barbera.
The data set is used to evaluate the ability of the `CNmixt()`

function in clustering the data assuming unknown their cultivars.

### Usage

data(wine)

### Format

This data frame contains 178 rows, each corresponding to a different cultivar of wine produced in Piedmont (Italy), and 14 columns.
The first column is the type of wine (`Type`

), a factor variable with the following levels: `Barolo`

, `Grignolino`

, `Barbera`

.
The variables measured on the three types of wines are the following:
`Alcohol`

, `Malic acid`

, `Ash`

, `Alcalinity`

, `Magnesium`

, `Phenols`

, `Flavanoids`

, `Nonflavanoids`

, `Proanthocyanins`

, `Color intensity`

, `Hue`

, `OD280.OD315Dilution`

, `Proline`

.
All variables but the label class are continuous.

### Details

The original data set comprises 27 variables.
Here a subset of 14 variables only has been included.

### Source

This dataset is from the UCI machine learning repository and it is available at http://archive.ics.uci.edu/ml/datasets/Wine.

### References

Forina M., Lanteri S. Armanino C., Casolino C., Casale M., Oliveri, P. (2008).
V-PARVUS. *An Extendible Pachage of programs for esplorative data analysis, classification and regression analysis*.
Dip. Chimica e Tecnologie Farmaceutiche ed Alimentari, Universita' di Genova.

### See Also

`ContaminatedMixt-package`

, `CNmixt`

### Examples

data("wine")
group <- wine[, 1]
pairs(wine[, -1], cex = 0.6, pch = c(2, 3, 1)[group], col = c(3, 4, 2)[group], gap = 0,
cex.labels = 0.6)
res3 <- CNmixt(wine[, -1], G = 3, model = "EEE", initialization = "random.post",
seed = 5, parallel = FALSE)
agree(res3, givgroup = group)
pairs(res3, cex = 0.6, gap = 0, cex.labels = 0.6)

[Package

*ContaminatedMixt* version 1.3.4.1

Index]