diff --git a/index.Rmd b/index.Rmd index 54972cf..8abac40 100644 --- a/index.Rmd +++ b/index.Rmd @@ -94,7 +94,8 @@ question("What is important for your data if you want to import it into R? (sele **Exercise 1: Using the 'happiness' data set we used in the workbook – let’s do a quick exercise to recap what we learnt in Modules 1-3, but writing out the code entirely in RStudio instead of online.** 0. Start a new project file, and a new RMD script file and write the initial set up code to import the happiness dataset and load the `dplyr` and `ggplot2` libraries. Remember to save the Excel file in CSV format before importing the data. -(If you were following along to here directly from the workbook you may have already done this; so you can skip this step!). You can find the Excel file here: [Happiness.xlsx](https://github.com/stats4sd/r2020_04Importation/raw/main/Happiness.xlsx) +(If you were following along to here directly from the workbook you may have already done this; so you can skip this step!). +You can find the Excel file here: [Happiness.xlsx](https://github.com/stats4sd/r2020_04Importation/raw/main/Happiness.xlsx) 1. Find the 5 countries with the lowest ‘generosity scores’ @@ -103,14 +104,19 @@ question("What is important for your data if you want to import it into R? (sele 3. Make a plot showing the relationship between generosity and GDP per capita -**Exercise 2: Download the file below that contains the imdb dataset and the Module 3 exercises in RMD format. +**Exercise 2: Download the file below that contains the imdb dataset and the Module 3 exercises in RMD format.** + +[Module-3-Exercises.zip](https://github.com/stats4sd/r2020_04Quiz/raw/main/Module-3-Exercises.zip) Create a new project in RStudio and unzip the files into your new project folder. + Then open the workbook, and load in the libraries and the dataset. The code for these steps are written for you. + Then you can copy across your answers from Module 3 (which should still be saved on the online version if you have completed Module 3) into this new workbook. -And, if you did finish the Module 3 exercises, now is the time to do so! Only now you are using your own version RStudio rather than using the version of R on the server.** -[Module-3-Exercises.zip](https://github.com/stats4sd/r2020_04Quiz/raw/main/Module-3-Exercises.zip) +And, if you did finish the Module 3 exercises, now is the time to do so! Only now you are using your own version RStudio rather than using the version of R on the server. + +