wine | R Documentation |
Chemical constituents of wines from three different cultivars grown in the same region in Italy. The cultivars, 'barolo', 'barbera', and 'grignolino', are indicated in wine.class.
data(wine)
The format is: chr "wine"
http://archive.ics.uci.edu/ml/datasets/Wine
data(wine)
wine.pca <- prcomp(wine, scale. = TRUE)
print(ggscreeplot(wine.pca))
print(ggbiplot(wine.pca, obs.scale = 1, var.scale = 1, groups = wine.class, ellipse = TRUE, circle = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.