BeerTaste: BeerTaste: Tasting and Grading Beers

BeerTasteR Documentation

BeerTaste: Tasting and Grading Beers

Description

This data contains results from a beer liking study where 34 persons tasted nine different beers. The consumers tasted three different types of beers with three levels of alcohol percentage. Each beer were graded a liking score from 1 to 7, where a score of 1 means that the consumer did not like the beer at all and a score of 7 means that the beer was very good.

Usage

BeerTaste

Format

A data frame with 34 observations (rows) and 12 variables (columns).

Column name Data type Description Values
[,1:9] A1...SL3 integer Liking scores for each beer (1 - 7)
[,10] AGE factor 2 age groups: young and old consumers (O, Y)
[,11] Gen factor The gender of the consumer (F, M)
[,12] Pos factor If the consumer is student or worker (S, W)

AGE has two levels: 'Y' for young consumers less than 40 years old and 'O' for consumers older than 40.

Three different types of beers:

A: Ale (dark beer)
L: Lager (light beer)
SL: Strong lager

The numbers behind each of the characters, which represents the beer type, give the alcohol level for the beer. The higher the number, the higher alcohol level.

Examples


# The structure of the object
str(BeerTaste)

# Covariance matrix for female consumers
cov(BeerTaste[BeerTaste$Gen =="F", 1:9])


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.