Resources for Lab 1
The data analysis life cycle

Interactive web console Basic R
Access the R web console for some basic R commands
Interactive web console Dataset and Visualization
Access the R web console for a quick visualisation
Homework:
Install R and Rstudio: install R and Rstudio on your personal laptop! For a guide, see for example this tutorial and get familiar with Rstudio interface. If you prefer a video tutorial, check it here.
Install useful packages:
install.package()command.- Run
install.package("tidyverse").
Run
head(mtcars)to visualise the first rows of themtcarsdataset.Run
?mtcarsto check the meaning of the column in themtcarsdataset.Use the
summary()function on themtcarsdataset.- What’s the highest Miles-Per-Gallon value?
- What’s the average number of carubretors?