Learn R Programming

spinifex (version 0.1.0)

wine: The wine dataset from the UCI Machine Learning Repository.

Description

The wine dataset contains the results of a chemical analysis of wines grown in a specific area of Italy. Three types of wine are represented in the 178 samples, with the results of 13 chemical analyses recorded for each sample. The Type variable has been transformed into a categoric variable.

Usage

wine

Arguments

Format

data frame (tibble) of 178 observations of 13 variables, target class Type and 12 numeric variables.

Details

The data contains no missing values and consist of only numeric data, with a three class target variable (Type) for classification.

Data frame (tibble) of 178 observations of 13 variables, target class Type and 12 numeric variables:

  • Type, The type of wine, into one of three classes, 1 (59 obs), 2(71 obs), and 3 (48 obs).

  • Alcohol, Alcohol

  • Malic, Malic acid

  • Ash, Ash

  • Alcalinity, Alcalinity of ash

  • Magnesium, Magnesium

  • Phenols, Total phenols

  • Flavanoids, Flavanoids

  • Nonflavanoids, Nonflavanoid phenols

  • Proanthocyanins, Proanthocyanins

  • Color, Color intsity

  • Hue, Hue

  • Dilution, D280/OD315 of diluted wines

  • Proline, Proline

Reproducing this dataset:

library("rattle.data")
wine <- dplyr::as.tibble(wine)

Examples

Run this code
# NOT RUN {
str(wine)
# }
# NOT RUN {
play_manual_tour(data = wine[, 2:14], manip_var = 1, init_rescale_data = TRUE)
# }

Run the code above in your browser using DataLab