This project contains the code, data, and report for Homework 5 in ERHS 535. The goal of this assignment is to practice data manipulation, visualization, and reproducible workflows using R and RMarkdown.
data/– datasets used in the analysisfigures/– generated figureswriting/– RMarkdown report and rendered HTML/PDF outputHomework5_XB.Rproj– RStudio project file
This assignment teaches you how to embed version control into a research workflow so that the data analysis and results are traceable, reproducible, and collaboratively manageable. Rather than juggling separate files or folders with different drafts or versions, Git organizes everything including code, data, output in a reversible history. This is especially important in research settings (like data analysis in R) where reproducibility, transparency, and the ability to track how results were generated are essential.
- R version 4.3 or higher
- Required packages: tidyverse, knitr, readr, ggplot2
- Open the R project (.Rproj file).
- Open the RMarkdown file in the writing/ folder.
- Click Knit to produce the final report.
Xuan Beatty