Chapter 8 Visualization Application
Chapter 8 of your text shifts to a format it mostly adopts moving forward, one of less hand holding and a lot more try it yourself. It will give you instructions and you are expected to be able to apply your previous knowledge to complete the instructions. This is kind of hard! It’s ok to go back and read other chapters and I encourage you to struggle a little if it’s difficult……troubleshooting is a part of this whole thing. BUT, if it gets too frustrating check out the solutions at the end of the chapter.
8.1 Goals
Open stub file and set working directory
Load in the relevant programs, read csv’s, merge dataframes
select
variables of interestCreate a scatterplot in
ggplot
- change color, add axis names
Add a line of best fit to your scatterplot
mutate
some of your variables to factorsRepresent multiple groups in your scatterplot