Update the header - put your name in the author argument and put today’s date in the date argument.
Click the “Render” button in RStudio and then open the rendered 2-lab2.html page.
Then go back and try changing the theme argument in the header to something else - you can see other available themes here. Notice the difference when you render now!
Overview of Lab2
There are two parts of this lab notebook. We will be using the same example datasets covered in class: penguins and lyme. In first part, we will practice basic chart types for visualizing quantitative information and trend over time. In the second part, we will practice chart types for visualizing distribution and relationships between two variables.
Skills practiced:
Load, clean, and filter data using dplyr functions (filter(), mutate(), summarise())
Create bar charts and dot plots to compare counts and averages across categories
Generate histograms and boxplots to visualize distributions of continuous variables
Use line charts to show trends over time for different groups
Build scatterplots to explore relationships between two numeric variables
Customize plots using ggplot2 elements such as color, facet_wrap(), and geom_smooth()
Practice reproducible coding and visualization in a Quarto notebook