Learning R
E-books Only
- Beginners 🌱
- Intermediate 🌳
- Advanced 🌳🌳
Advanced R 🌳🌳
What is this?
Excerpt from site: This is the website for 2nd edition of “Advanced R”, a book in Chapman & Hall’s R Series. The book is designed primarily for R users who want to improve their programming skills and understanding of the language. It should also be useful for programmers coming to R from other languages, as it helps you to understand why R works the way it does.
- Free web-book here: https://adv-r.hadley.nz/ or http://adv-r.had.co.nz/Introduction.html
- Buy book here: Link to Amazon
Coding togetheR
What is this?
Excerpt from site: Coding togetheR is a series of collaborative workshops to teach foundational R coding and data science skills at the University of Southampton in 2019. This book contains the materials covered over eight, two-hour sessions.
- Link to web-book here: https://ab604.github.io/docs/coding-together-2019/
Efficient R programming 🌱 & 🌳
By Colin Gillespie Robin Lovelace
What is this?
Excerpt from ebook: This book is for anyone who wants to make their R code faster to type, faster to run and more scalable. These considerations generally come after learning the very basics of R for data analysis: we assume you are either accustomed to R or proficient at programming in other languages, although this book could still be of use to beginners
Forecasting: Principles and Practice
By Rob J Hyndman & George Athanasopoulos
What is this?
Excerpt from e-book here: “This textbook is intended to provide a comprehensive introduction to forecasting methods and to present enough information about each method for readers to be able to use them sensibly.”
- Link to ebook here: https://otexts.com/fpp2/
Hands-On Programming
What is this?
Excerpt from site: This is the website for “Hands-On Programming with R”. This book will teach you how to program in R, with hands-on examples. I wrote it for non-programmers to provide a friendly introduction to the R language. You’ll learn how to load data, assemble and disassemble data objects, navigate R’s environment system, write your own functions, and use all of R’s programming tools.
- Free web-book here: https://rstudio-education.github.io/hopr/
- You can buy book here: Link to Amazon
Just Enough R 🌱
What is this?
Excerpt from e-book here: R makes it easy to work with and learn from data.
It also happens to be a programmming language, but if you’re reading this, that might not be of interest. That’s OK — the goal here is not to teach programming1. The goal is to teach you just enough R to be confident to explore your data.
This book uses R like any other statistics software: To work-with and visualize data, run statistical analyses, and share our results with others. To do that you don’t need more than the absolute basics of the R language itself.
- Link to ebook here: https://benwhalley.github.io/just-enough-r/
Modelling and visualizing data using R: A practical introduction
What is this?
Excerpt from site: This is a basic overview of using R for data analysis, and of linear statistical modelling. It would be suitable for anyone who has had some stats training but not used R; or has used R a little but not become confident; or has neither had stats training nor used R but is not happy with a reasonably steep learning curve. The emphasis is on rapidly getting to be able to use R for most of the common practical purposes, and knowing that you can take it further should you need to. It is designed for you to be able to work through on your own.
- Link to pdf for intro: https://www.danielnettle.org.uk/wp-content/uploads/2019/07/funwithR3.0.pdf
- Data files used for this intro: https://www.dropbox.com/sh/7s14m6ceph3laja/AAAIGT7jBZ3n6aIBR8-IT8R4a?dl=0
R for Data Analysis
Added Fri Apr 14th, 2023
What is this?
Excerpt from e-book: The purpose of this book is to inspire and enable anyone who reads it to reconsider the methods they currently employ to analyse data. This is not to suggest that the methodologies outlined will be useful or sufficient for everyone who reads it. Some analyses can be performed quickly without the need for additional computation while others will require advanced analytics techniques not outlined in this book; however, the aspiration is that all will be equipped with novel tools and ideas for approaching data analysis.
- Link to e-book here: https://trevorfrench.github.io/R-for-Data-Analysis/?es_id=aaa755b1d8
R Programming for Data Science
What is this?
Excerpt from site: This book is about the fundamentals of R programming. You will get started with the basics of the language, learn how to manipulate datasets, how to write functions, and how to debug and optimize code. With the fundamentals provided in this book, you will have a solid foundation on which to build your data science toolbox.
- Web-book here: https://bookdown.org/rdpeng/rprogdatascience/
Teacup Giraffes_Before the Adventure Begins: INTRO TO R🌱
By Hasse Walum & Desirée De Leon
What is this?
The site’s purpose is to introduce you to statistics with R but the first module gives you a really concise introduction of R.
The Tidyverse Cookbook
What is this?
Excerpt from the ebook: This book collects code recipes for doing data science with R’s tidyverse. Each recipe solves a single common task, with a minimum of discussion.
- Link to the ebook here: https://rstudio-education.github.io/tidyverse-cookbook/
Tidy Modeling with R
What is this?
Excerpt from site: this book provides an introduction to how to use our software to create models. We focus on a dialect of R called the tidyverse that is designed to be a better interface for common tasks using R.
- Link to ebook here: https://www.tmwr.org/
Tidyverse tutorial (2017)
By Mike Frank
What is this? Excerpt from site: In this tutorial, I’ll walk through how to go from a database or tabular data file to an interactive plot with surprisingly little pain (and less code than you’d imagine). My focus will be on introducing a workflow that uses a wide variety of different tools and packages, including readr, dplyr, tidyr, and shiny. I’ll assume basic familiarity with R and will use (but not spend too much time teaching) ggplot2. Featuring data from http://wordbank.stanford.edu
- Link to the tutorial here: https://github.com/mcfrank/tidyverse-tutorial
Using R as a GIS: Preview: What Is R?
Added Fri Apr 14th, 2023
What is this?
Excerpt from e-book here: In this preview chapter, we discuss what R is how we can use it as a GIS and why it is different to many other Geographic Information System (GIS) programs.
This book is in the works and we are offering a single preview chapter for free!
- Link to the course here: https://locatepress.com/book/rgis1
What They Forgot to Teach You About R 🌳
By Jennifer Bryan & Jim Hester
What is this?
Excerpt from site: The initial impetus for creating these materials is a two-day hands-on workshop. The in-person workshops are still the primary delivery method for this content, but we’ve begun recording prose versions of this content, in order to make it more widely available and for participants to refer back to. Warning: these materials absolutely do not constitute a self-contained “book”, nor do they capture all workshop content.
- Web-book here: https://rstats.wtf/index.html
YaRrr! The Pirate’s Guide
What is this?
Excerpt from site: This book is meant to introduce you to the basic analytical tools in R, from basic coding and analyses, to data wrangling, plotting, and statistical inference.
- Web-book is here: https://bookdown.org/ndphillips/YaRrr/