R for Publication by Page Piccinini

The goal of this course is to give you the skills to do the statistics that are in current published papers, and make pretty figures to show off your results. While we will go over the mathematical concepts behind the statistics, this is NOT meant to be a classical statistics class. We will focus more on making the connection between the mathematical equation and the R code, and what types of variables fit into each slot of the equation.

Much of the R code will come from the Hadleyverse, including the well-known ggplot2, the less-well known dplyr, and the even less-well known (but still very useful!) purrr. If you already have experience with R, but are less familiar with these packages, this course will help you improve your R pipeline to be more readable and efficient. Moreover, you can read dplyr tutorial and ggplot2 tutorial published here at DataScience+

In addition to statistics and figure making, this course will get you acquainted with other aspects of R and RStudio to allow for more productive data analysis and management, including R Projects, Git, and Bitbucket.

Pre-course To Do

To begin you will need to have a few things pre-installed or set up:

  • Install R. If you already have R installed, be sure it is the newest version.
  • Install RStudio.
  • Make sure tex (e.g. LaTeX) is installed.
  • Set up Git on your local computer.
  • Make a Bitbucket account.

After that you’re ready to go!

Syllabus

The course is set up to follow a certain order with each lesson building on the previous one. However, you can also use the links below to jump to a specific topic. All videos for the lessons provided below. Links to the lab and PDFs of the slides can be found on the primary course website. All of the data sets and code can also be found on my GitHub account. Note, there are separate repositories for each lesson, for example this the Lesson 1 repository.

PP
Author
Page Piccinini

Page is a PostDoc in the Neuro Psychologie Interventionnelle (NPI) at the École Normale Supérieure. She is interested in using statistical models to explain complex data sets, whether they be individ…

12 articles on DataScience+
View all posts

5 Comments

  1. E
    Ellis March 24, 2016

    Page, the material is informative but I can’t find the files. I can’t connect when clicking on the PDF link.

    Reply
    1. PP
      Page PiccininiAuthor March 25, 2016

      Thanks for letting me know! I’ve updated the post to include a link to the rest of the course material. It can be found here. Scroll down to each lesson for the labs and any necessary files.

      Reply
    2. PP
      Page Piccinini April 4, 2016

      Thanks for the feedback and sorry for the slow response, my previous reply got tagged as spam. I’ve updated the post to include the link to the full course website (http://pagepiccinini.com/r-course/) as well as my GitHub account which has the data sets and code.

      Reply
  2. MK
    Mariano Kamp March 24, 2016

    I don’t get it. Where’s the code? I see the YouTube video and can see the PDF, but I don’t see where the code is Page is referring to?

    Reply
    1. PP
      Page PiccininiAuthor March 25, 2016

      Thanks for letting me know the link was missing! I’ve updated the post to include a link to the rest of the course material. It can be found here. Scroll down to each lesson for the labs and any necessary files.

      Reply

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.