Data Processing and Visualization in R

Jeff Stevens (he/him)

2023-01-23

Course introduction

Course goal

Source: Allison Horst

Course information

Course structure and materials

  • Before class: Readings and presentations

  • During class: Coding

  • After class: Exercises

  • Course website: dpavir.org

    • Resources

Course information

Assignments

  • Learning journal
  • Exercises
  • Check-ins
  • Projects

Course information

Assignments

  • CReativity

Course information

Diversity, inclusion, wellness

Source: Allison Horst

Questions

Questions about R or the course?

R Introduction

Conventions

  • All code is in monospace font text

  • R functions end with parentheses: function()

  • Directory names end with slash: home/

  • Package names are surrounded by curly braces: {tidyverse}

  • Keyboard buttons separate keys with a plus: Ctrl+S

  • These are parentheses (), brackets [], and braces {}

  • Links are in light blue text

Mental model of R

Base R vs. tidyverse

Let’s code!

Introduction coding [Rmd file]