Exercise

The plot title thickens

Congrats on making it to the last exercise in the course! You'll now use your knowledge of rlang to define a function to customize a ggplot2 scatterplot. The function will allow for a title to be produced automatically based on the inputted values of the function. Try it out!

The rlang package has also been loaded for you in this exercise.

Instructions 1/2

undefined XP
  • 1
    • Complete the function to include the x, y, and color variables and add these variables into a title. (Use {{ }}!)
  • 2
    • Use the function to make a plot of college completion on the x-axis and fertility on the y-axis with continent as color.