| Wine | R Documentation |
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 wines.
A data frame with 178 observations on the following 14 variables.
Cultivara factor with levels barolo grignolino barbera
Alcohola numeric vector
MalicAcida numeric vector
Asha numeric vector
AlcAsha numeric vector, Alkalinity of ash
Mga numeric vector, Magnesium
Phenolsa numeric vector, Total phenols
Flava numeric vector, Flavanoids
NonFlavPhenolsa numeric vector
Proaa numeric vector, Proanthocyanins
Colora numeric vector, color intensity
Huea numeric vector
ODa numeric vector, OD280/OD315 of diluted wines
Prolinea numeric vector
This data set is a classic in the machine learning literature as an easy high-D classification problem, but is also of interest for examples of MANOVA and discriminant analysis.
The precise definitions of these variables is unknown: units, how they were measured, etc.
This data set was obtained from the UCI Machine Learning Repository,
http://archive.ics.uci.edu/ml/datasets/Wine. This page references a
large number of papers that use this data set to compare different methods.
In R, a comparable data set is contained in the ggbiplot package.
data(Wine)
str(Wine)
#summary(Wine)
Wine.mlm <- lm(as.matrix(Wine[, -1]) ~ Cultivar, data=Wine)
Wine.can <- candisc(Wine.mlm)
Wine.can
plot(Wine.can, ellipse=TRUE)
plot(Wine.can, which=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.