Learning with R!
This list was designed for academic researchers (focus here = psychology) wishing to transition to R, wishing to learn R, and wishing to do data analyses in R. Please list any resources you like, along with any notes that might be helpful for people discerning which tools they’d like. Let’s assume that readers of this list may be experienced with SPSS and have no programming experience. Please note if something is especially technical or especially good for beginners.
In general, one might recommend one good introduction to the R language, one good introduction to the tidyverse, and one good introduction to doing statistical analyses within R.
< feel free to edit anything in this document, text, curate, etc.; consider this a living, communal document >
General Introduction to the R language
https://learningstatisticswithr.com
This is a fantastic stats text that walks you through everything you need to know for basic statistical analyses in R. The language is taught by way of statistical analyses.
This is a handy desk reference and explains virtually everything about working in R. It’s in-depth but includes lots of applications.
https://www.amazon.com/R-Book-Michael-J-Crawley/dp/0470973927/ref=dp_ob_title_bk
They offer short, free, introductory courses in R and other programming languages.
A free interactive online textbook (bit.ly/ckstats17, a link to a version you can access through Canvas LMS so you can see how it would look for your students) that uses R to teach students introductory statistics concepts. You can also preview the “textbook” at coursekata.org. Integrates datacamp light (as well as other formative assessment questions, videos, text, pictures) so that R exercises are interleaved with statistical concepts. (Different from the traditional approach of having materials that teach the “concepts of statistics” separate from “lab exercises” where you get to do some analysis.)
Doing Statistical Analyses with R
How do you actually execute a data analysis project in R? There are many books. Some are more math-heavy and technical, some are less so.
Another statistics text walking you through data analysis using R. This shows ins and outs of data analysis using regression that are sometimes skipped. Note: The R Book (above) has some similar content to this book, and they are by the same author.
https://www.amazon.com/Statistics-Introduction-Michael-J-Crawley/dp/1118941098/ref=sr_1_1?crid=14IK7332COS1S&keywords=statistics+an+introduction+using+r&qid=1555432806&s=gateway&sprefix=statistics+an+introduction+%2Caps%2C180&sr=8-1
A “what to do in R” book concentrating on working with data and supervised machine learning.
http://practicaldatascience.com/
https://gist.github.com/davebraze/f73cc377fdee3b0b0373f0abc5a9725b
Tidyverse / Data Viz
The tidyverse is a set of R packages that is designed to make doing life with R easier. The tidyverse has a different workflow than base R and thus represents a “different flavor” of R. Often there is a “base R” way of doing things and a “tidyverse” way of doing things. Often the tidyverse is easier to read.
This might be a bit much for beginning R programmers, but it’s designed very well for people who are more familiar with the language. As you “level up” in your R abilities this resource is especially helpful for writing time-saving functions (among many other things)
Special Topics Books
Place special-topics books here, such as books or resources for SEM, HLM/MLM, etc.
There are several books in this list, curated by the maintainers of “lavaan,” one of the most popular tools for structural equation modeling in R.
http://lavaan.ugent.be/resources/books.html
Includes video lectures, slides, and a code repository
http://sachaepskamp.com/SEM2019
Online Courses, Github Repositories, Etc.
The internet is filled with fantastic resources for R. Some are full online courses. Some are R packages that teach you how to use R. Some are github folders that contain entire workshops or useful tutorials. Place them here.
This online resource teaches basic data science skills through interactive tutorials. It covers basic data manipulation, data visualization, data tidying, iteration problems, and writing functions. https://rstudio.cloud/learn/primers
Open Datasets, Papers with Easy-to-Read Code, Etc.
There may be great examples of open datasets, papers with published (preferably annotated) code that people might follow to improve their R skills. Place them here.
Dynamic Data Visualisation
Provides an overview of work concerning the development and deployment of dynamic data visualisations for psychology and behavioural science more generally. Includes links to papers/data sets.
https://sites.google.com/site/psychvisualizations/
RStudio Webinar
http://www.citizen-statistician.org/2019/06/rstudio-cloud-in-the-classroom/
Workshops
Place links to full R-based workshops here. These may be topical or focused on learning R.
Useful R Packages / Links to Package Lists
Are there specific R packages outside the tidyverse that you recommend? Are there lists of R packages that we could link to? List them here.
Simulation Resources
One useful purpose of R is that it contains many resources for simulating data.
https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.12504
https://debruine.github.io/faux/index.html
(manuscript here: https://psyarxiv.com/baxsf)
Unsure where to classify this: