2023

Here’s your roadmap for the semester!

  • Readings should be completed before each class session
  • Assignments are due by 3:00 PM on the day they are due
  • Class materials (slides, in-class activities, etc.) will be added on the day of class

Course outline: click here

Week 1: Introduction to R, RStudio and R Programming Basics

Welcome you all to STA 326 2.0 Programming and Data Analysis with R 👏

About the course and course rules

Slides Reading [2.1, 2.2, 5.1] Cheat sheet R-script Problems Exercise 1 Exercise 2 Answers: Tutorial discussion

Week 2-3: Data Structures in R (Vector, Matrix, Array, Data Frame, List)

Slides Reading Cheat sheet R-script Exercise 3 Answers: Tutorial discussion

Week 4: Functions in R

Slides - 1 Reading - 2.3 Cheat sheet R-script Exercise 4 Answers
Slides - 2 Reading-qplot Video R-script Exercise 5 Answers

Week 4-5: Writing Functions in R

Slides Reading[Ch 19] ) Cheat sheet R-script Exercise 6 Answers

Week 6-7: The Grammar of Graphics

Slides Reading-Ch3 Cheat sheet R-script Problems-Ch3 Answers

Perform EDA on palmerpenguins using ggplot2

library(palmerpenguins)
data(package = 'palmerpenguins')

Week 8: Reproducible Reporting with R Markdown

Slides Reading-Ch27 Cheat sheet Reference Guide Video Clips - LMS Problems

🖥️ R Labwork

Rmarkdown_practical_lesson_21.Rmd

sampleimage.png

Output: Rmarkdown_practical_lesson_21.html

Week 9: Introduction to the Tidyverse Data Science Workflow: Tibble, Factor, Pipe operator

Slides Reading - Ch1 and Ch 2 Cheat sheet R-script Problems Answers

Individual Assignment - 1 (5%) 🎓
Assignment: Individual assignment 1

Go to LMS. Deadline: 19 September 2022

Week 10: Flipped classroom - Physical

Flipped classroom work

Week 11: Data Import and Export - Flipped classroom

Slides Reading - Ch 11 Cheat sheet Demo 1 Demo 2 Demo-3 Problems Answers

Week 12: Data Wrangling: Reshaping Data and Data Manipulation - Physical

Reshaping Data

Slides Reading-R4DS Ch 12 Cheat sheet R-script Problems-R4DS Ch 12 Exercises Answers

Data Manipulation

Slides Reading-R4DS Ch5 Video Lecture Cheat sheet Problems-R4DS Ch5 Exercises Answers
Individual Project (30%) 🎓
Assignment: Individual Project

Go to LMS. Deadline: TBA

Week 13: Control structures: Physical

Slides Reading - Ch 13 Cheat sheet R-script Problems Answers

Week 14: Regression Analysis with R: Physical (50%) and Pre-recorded lecture and flipped classroom (50%)

Slides Reading-broom Cheat sheet R-script Problems Answers

Week 15: Hypothesis Testing: Physical

Slides-2022 Slide - 2021 notes Reading - 2nd year Inference Notes and this Cheat sheet R-script Problems Answers

Revision and Ways to Continue Learning R No Matter What You Choose to be Your Next Step

Recap
Julia Silge
TidyTuesday

Happy Learning with R