Lesson 2 of 20
In Progress

Introduction to the Dataset

Your Turn

You’ll be working with the college dataset to run all your analyses.

  1. Create a new project. Make sure you put it somewhere you’ll be able to find it again later!
  2. Download the dataset “college.csv” from https://bit.ly/college-dataset
  3. Create a new R script file or RMarkdown document where you’ll do all of your inferential statistics. Alternatively, download the blank exercises document.
  4. Import the spreadsheet into a dataframe college using readr::read_csv()
Solutions
Learn More

To learn more about the summarytools package, check out its vignette.

The grade_class variable in the dataset is not a factor, but could become one. To learn about factors, check out Chapter 15 of R for Data Science.

Have any questions? Put them below and we will help you out!

  1. Thanks David- this package (summarytools) has turned out to be one of the most powerful tools I have ever used in R. I have been struggling with using ‘weights’ for analysing survey data in R and recently came across the ‘pollster’ package. summarytools can do far more than pollster can and brings R almost at par with what STATA in terms of comprehensive summary stats by with or without incorporating weights.