Your assignment this week is to create data visualizations of your own data using ggplot2. It is okay to use additonal packages that extend ggplot2 functions, but please don’t use a package that makes the entire ggplot call for you. In other words, packages that give you more geoms are okay, but packages that create a ggplot for you without you having to add these geoms yourself are not okay.
First, help me understand these data. In a few sentences, describe the research design, structure of the data, and any quirks you think would be helpful for me to know about. If you are using the same data as last week, you can copy & paste your description.
Then, create at least 4 figures that help you understand and visualize your data. It’s okay to make the same figures as you did last week (but in ggplot2, as long as they meet the criteria below), but I encourage you do add some layers that would otherwise be more challenging in base R. You should include code to do the following at least once across your 4+ figures:
theme()to modify features of your ggplot
At the end, use the
patchwork package to combine your plots into whatever arrangement you would like
Then, create at least 4 figures that help you understand and visualize your data. Bonus if these figures complement each other to tell a story of your data, but this is not a requirement. You should include code to do the following at least once across your 4+ figures:
par(mfrow = ...)or