Statistics and Statistical Programming (Winter 2021)/Problem set 7: Difference between revisions

From CommunityData
(Created page with "===PC8. Create a bivariate visualization=== Visualize two variables in the Problem Set #2 dataset using <code>ggplot2</code> and the <code>geom_point()</code> function to prod...")
(No difference)

Revision as of 05:46, 23 January 2021

PC8. Create a bivariate visualization

Visualize two variables in the Problem Set #2 dataset using ggplot2 and the geom_point() function to produce a scatterplot of x on the x-axis and y on the y-axis. Optional bonus: Incorporate any of the other variables on other dimensions (e.g., color, shape, and/or size are all good options). If you run into any issues plotting these dimensions, revisit the examples in the tutorial and the ggplot2 documentation and consider that ggplot2 can be very picky about the classes of objects.