R Workshop Day 2 (pdf)

RStudio projects and RMarkdown

Practice

More Practice

  1. Create a simple RMarkdown report that includes some data and graphics from one of the datasets we have used so far.
  2. Choose 3-5 states and filter the counties data to these states. Then draw a scatterplot comparing the populations in 2000 and 2010, with a different color for each state, then add smooth lines for each state as well as overall. Add title and caption to the graph, set the x and y labels, and change the label that goes with the colors.