Chapter 6 Assignments I

6.1 Read-in data

Try and read in your own data! Dont forget to place your datafile in the same folder. Remember that you will need to use a different library and function depending on whether your file is a csv, excel, or SPSS-file. If you can't figure it out, you can use the code below.

6.2 Quick overview

Get a quick overview of your data. Are there continuous variables in your data? And what about factors?

6.3 Averages

Try to calculate an average for a numerical variable in your data with mean()