R Workshop, Syracuse University Department of Psychology, Spring 2020
This workshop is designed as an introduction to the R statistical computing environment for practical data analysis, especially in psychology. I have been running workshops like this off and on since 2012. The recordings here stem from an eight-session workshop series I held in Spring 2020 with an audience composed mostly of Syracuse University graduate students. I have split the hour-long sessions into multiple videos each.
The videos linked on this page are designed to be viewed in order, so each video's page has a link to the next. They are also available in a Youtube playlist. I have provided some keywords in the titles in case you want to skip to a particular part.
When I administer workshops in person, I recommend bringing a laptop with R (r-project.org) installed to follow along. RStudio (rstudio.com) is optional but a lot of people like it, and I think it holds a special appeal for SPSS, SAS, and Stata users because of its graphical layout.
Sessions 1 through 4 are the basic introduction portion of the workshop, corresponding to the Introduction to R Workshop Summary resource on my stats page. There, you can find links to a PDF summary [pdf] and the example data and code files to walk through [zip].
In Sessions 5 through 7, I process and analyze a real dataset from one of my studies. You can download the data and code files here: Real Data Example [zip].
Session 8 is a demonstration of a variety of plots, corresponding to the Introduction to R Workshop Plotting Demo resource on my stats page. There, you can find links to a PDF showcasing the demo plots [pdf] and the code file [text].
In March 2023, I reviewed some basic R concepts for undergraduate students and showed them how to make a couple of fun and easy plots. This review uses the same example data as the first four sessions of the main workshop, but with some new code: beginner R summary code [text]. The four videos from this session (listed below after the main workshop) can provide a relatively quick conclusion after the first five videos of the main workshop. These nine videos are available in a shorter Youtube playlist: abbreviated workshop playlist.
List of Videos: Sessions 1 through 4 (Introduction to R)
R Workshop - Session 1 of 8, Video 1 of 3 (intro, variable assignment, arithmetic)
R Workshop - Session 1 of 8, Video 2 of 3 (functions, vectors)
R Workshop - Session 1 of 8, Video 3 of 3 (vectors, etc.)
R Workshop - Session 2 of 8, Video 1 of 3 (t-tests, formulas, data frames)
R Workshop - Session 2 of 8, Video 2 of 3 (attach, reading data files, regression)
R Workshop - Session 2 of 8, Video 3 of 3 (plots, factors, interactions)
R Workshop - Session 3 of 8, Video 1 of 5 (data and subset arguments, etc.)
R Workshop - Session 3 of 8, Video 2 of 5 (ANOVA)
R Workshop - Session 3 of 8, Video 3 of 5 (missing values, etc.)
R Workshop - Session 3 of 8, Video 4 of 5 (true, false, and, or, etc.)
R Workshop - Session 3 of 8, Video 5 of 5 (for loops)
R Workshop - Session 4 of 8, Video 1 of 5 (if statements)
R Workshop - Session 4 of 8, Video 2 of 5 (composite scores)
R Workshop - Session 4 of 8, Video 3 of 5 (packages)
R Workshop - Session 4 of 8, Video 4 of 5 (data types)
R Workshop - Session 4 of 8, Video 5 of 5 (user-defined functions)
List of Videos: Sessions 5 through 7 (Real Data Example)
R Workshop - Session 5 of 8, Video 1 of 4 (real data example: background, data source)
R Workshop - Session 5 of 8, Video 2 of 4 (real data example: initial steps, condition)
R Workshop - Session 5 of 8, Video 3 of 4 (real data example: initial steps, misc.)
R Workshop - Session 5 of 8, Video 4 of 4 (real data example: composite scores)
R Workshop - Session 6 of 8, Video 1 of 4 (real data example: more composite scores)
R Workshop - Session 6 of 8, Video 2 of 4 (real data example: final processing)
R Workshop - Session 6 of 8, Video 3 of 4 (real data example: descriptives & plots)
R Workshop - Session 6 of 8, Video 4 of 4 (real data example: correlations & plots)
R Workshop - Session 7 of 8, Video 1 of 4 (real data example: tapply & descriptives)
R Workshop - Session 7 of 8, Video 2 of 4 (real data example: quick bar plots)
R Workshop - Session 7 of 8, Video 3 of 4 (real data example: t-tests, etc.)
R Workshop - Session 7 of 8, Video 4 of 4 (real data example: regression, etc.)
List of Videos: Session 8 (Base R Plotting Demo)
R Workshop - Session 8 of 8, Video 1 of 7 (plotting demo intro/explanation)
R Workshop - Session 8 of 8, Video 2 of 7 (histogram and box plots)
R Workshop - Session 8 of 8, Video 3 of 7 (bar plots, reordering factor levels)
R Workshop - Session 8 of 8, Video 4 of 7 (plot of individual points and means)
R Workshop - Session 8 of 8, Video 5 of 7 (scatterplots)
R Workshop - Session 8 of 8, Video 6 of 7 (color-coded scatterplot)
R Workshop - Session 8 of 8, Video 7 of 7 (generating a PDF of plots)
Extra Videos: Beginner R Summary, Spring 2023
Review of basics and simple plots (Video 1 of 4)
Review of basics and simple plots (Video 2 of 4)
Review of basics and simple plots (Video 3 of 4: colored scatterplot)