© Thomas Mailund 2022
T. MailundBeginning Data Science in R 4https://doi.org/10.1007/978-1-4842-8155-0_8

8. Project 1: Hitting the Bottle

Thomas Mailund1  
(1)
Aarhus, Denmark
 

To see a data analysis in action, I will use an analysis that my student, Dan Søndergaard, did the first year I held my data science class. I liked his analysis so much that I wanted to include it in the book. I am redoing his analysis in the following with his permission.

The data contains physicochemical features measured from Portuguese Vinho Verde wines, and the goal was to try to predict wine quality from these measurements.1

Importing Data

If we go to the data folder, we can see that the data is split into three files: the measurements from red wine, white wine, and a description ...

Get Beginning Data Science in R 4: Data Analysis, Visualization, and Modelling for the Data Scientist now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.