Labs

Overview

We will be using Jupyter notebooks for R lab assignments. We recommend using Google Colab to open & complete these assignments. “Jupyter” is the name of the internet browser-based environment we are using to write code and immediately see what each line of code does. “R” is the name of the computer programming language we are using to explore, visualize, and analyze data.

Fetching lab assignments

Lab assignments can be downloaded from Canvas.

Submission checklist

  1. Does each lab assignment run top to bottom? When you have finished your lab assignments, please ensure that your Jupyter notebooks run cleanly from “top to bottom” and generate the output you expect. To test that your completed notebook runs top to bottom, click Runtime > Run All in the menu bar at the top of the notebook.
  2. Submit through Gradescope via Canvas. Once you have completed the step above, submit your assignment via Canvas. Please ensure that the file you submit is a Jupyter notebook with a ipynb file extension. This means that the filename should end with .ipynb rather than something else, like .html or .pdf). Ensure that it is submitted before 11:59PM PT on the deadline stated in the syllabus. Everyone is responsible for submitting their own lab assignments. You can check your lab grades on Canvas.

Lab 1: Exploring data

Lab 2: Visualizing data

Lab 3: Modeling data

Lab 4: Comparing models