Submit a .html file rendered via Quarto / Rmarkdown.
Present your project to class: 3-5 minutes (max!)
Use
ggplot() with good labels & legends
filter()
select()
facet_wrap() or facet_grid()
rename()
group_by() & summarize()
Include the following plots
barplot
boxplot
scatterplot
Include a brief summary and conclusion.
Include a brief discussion each of your plots. Two-three sentences should suffice.
Tips
Create an R-script to do your exploratory work.
Comment well.
After you have some good plots and/or statistics, copy your work into the .qmd file.
Remember, your markdown environment is different than your console, so you will have to load the data/tidyverse again.
This page sheds light on the haven package we’re using with the ATUS data. Two tools that might be useful:
library(tidyverse)library(haven)source("~/Google Drive/Teaching/DAT309/Week3/load_ATUS_data.R")# make the hvn+lbl a factordf |>select(sex) |>as_factor()