Learn R Programming

ggbiplot (version 0.55)

wine: Chemical composition of three cultivars of wine

Description

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.

Usage

data(wine)

Arguments

Format

The format is: chr "wine"

Examples

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab