The following is a non-exhaustive list of free online textbooks and resources that use R
R for Data Science – Garrett Grolemund and Hadley Wickham
R and RStudio cheat sheets: A large collection of simple cheat sheets for RStudio, ggplot2, and other R-related things.
Hands-On Programming with R by Garrett Grolemund. This is a non-statistical introduction to R programming with many hands-on examples.
Advanced R – Hadley Wickham
Modern Data Science with R – Benjamin S. Baumer, Daniel T. Kaplan, Nicholas J. Horton
Modern Dive: A moderndive into R and the tidyverse by Chester Ismay and Albert Y. Kim
Learning Statistics with R by Danielle Navarro
OpenIntro Statistics Open-source online version is available for free
An Introduction to Statistical Learning: with Applications in R – Gareth James, Daniela Witten, Trevor Hastie, and Robert Tibshirani
tidyverse
collection of R packages. However, this is still a great book and the code provided is useful.Broadening Your Statistical Horizons is an applied textbook on generalized linear models, with all of the examples / code in R.
Text Mining with R by Julia Silge and David Robinson. What happens if your data is text, rather than numbers? What if you wanted to do sentiment analysis?
The de-facto standard for visualisations in R is the ggplot2
package. If you want to read Hadley Wickham’s paper that implemented the grammar of graphics into R, you can find it here
Data Visualization: A Practical Introduction by Kieran Healy.
Fundamentals of Data Visualization by Claus O. Wilke.
R Graphics Cookbook A practical guide by Winston Chang that provides any specific examples/ recipes to help you generate high-quality graphs quickly. I use it as quick reference to get my ggplot working.
Interactive web-based data visualization with R, plotly, and shiny
Data science and statistical programming can be challenging. Computers are dumb and tiny errors in your code can cause hours of frustration (even if you’ve been doing this stuff for years!).
Fortunately, there are tons of online resources to help you with this. Two of the most important are StackOverflow (a Q&A site with thousands of answers to all sorts of statistical and programming questions) and RStudio Community (a forum specifically designed for people using RStudio and the tidyverse).
I highly recommend subscribing to the R Weekly newsletter which is sent every Monday and is full of helpful tutorials and ideas on how to do stuff with R.
RStudio Cheatsheets Printable cheat sheets for common R tasks and features
Typora is a lightweight, stand alone editor for Markdown documents
Tim Harford’s More or Less explains and debunks the numbers and statistics used in political debate, the news and everyday life. A great episode on sampling can be found here
This page last updated on: 2020-07-14