Learn R Programming

DescTools (version 0.99.17)

d.whisky: Classification of Scotch Single Malts

Description

86 malt whiskies are scored between 0-4 for 12 different taste categories including sweetness, smoky, nutty etc. Additionally, coordinates of distilleries allow us to obtain pairwise distance information. Using a combination of these variables it is possible to look for correlations between particular attributes of taste and physical location, for example does a shared local resource have a significant effect on nearby whiskies. By using correlation analysis it may be possible to provide whisky recommendations based upon an individual's particular preferences. By computing the Pearson correlation coefficient and specifying a threshold value between 0 and 1, we can establish an adjacency matrix where each node is a malt whisky and an edge represents a level of similarity above the threshold.

Usage

data("d.whisky")

Arguments

Format

A data frame with 86 observations on the following 16 variables.
distillery
a factor with levels Aberfeldy, Aberlour, AnCnoc, Ardbeg, ...
body
a numeric vector
sweetness
a numeric vector
smoky
a numeric vector
medicinal
a numeric vector
tobacco
a numeric vector
honey
a numeric vector
spicy
a numeric vector
winey
a numeric vector
nutty
a numeric vector
malty
a numeric vector
fruity
a numeric vector
floral
a numeric vector
postcode
a factor with levels AB30 1YE, AB35 5TB, ...
latitude
a numeric vector, coordinate pairs of distilleries.
longitude
a numeric vector, coordinate pairs of distilleries.

References

http://www.whiskyclassified.com http://www.mathstat.strath.ac.uk/outreach/nessie/index.html

Examples

Run this code
head(d.whisky)

Run the code above in your browser using DataLab