Extra Credit Assignment

EPsy 8261

In Lab 2 you used ggplot to plot the data from a table that you found in an article or journal. In this assignment, you will write a tutorial for the process you followed using R Markdown and will publish that tutorial on RPubs.

There are several resources for learning R Markdown.

Your tutorial should be written so that a student who was just learning ggplot could follow your directions easily from obtaining the data in the table, to manipulating the data so it can be read into R and used with ggplot, to the instructions for creating your final plot. (Think of the level of detail you would want in a tutorial when you were first learning ggplot!)

It should include a view of your final data (full or a subset depending on size) and all commands necessary to create your final plot (with appropriate explanation), and the final plot.

All R syntax included should run without error. (When you knit the .Rmd document it should compile without errors.) It should also include a citation or link to the website/journal that published the original table.