3) R Basics 2 - Data Types and Data Cleaning

This Week:

In this week, weโ€™ll get a further introduction to the "ggplot2" package for making graphics and you will turn in HW2 (Friday 11:59pm).


๐ŸŽฏ Objectives

At the end of this unit you will be able to:

  • Produce simple exploratory graphics with functions from "ggplot2".

  • Describe the notion of โ€œlayersโ€ and how to use them for making a graphic with "ggplot2".

  • Explain the difference between mappings and settings.

  • Describe the purpose of the aesthetic mapping function aes().


๐ŸŒ  Slides

Find todayโ€™s slides here.


๐Ÿ’ป Code

Basic data cleaning with dplyr and exploratory data analysis.

  • qmd notebook file
  • html file


๐Ÿ“– Assignment

Reading: Price of Eggs

https://www.nytimes.com/2023/02/03/briefing/why-eggs-cost-so-much.html

Homework: Homework #1 is due Monday, 3/2 at 11:59pm. You can find the assignment and turn in your work on BCourses.