AITeky Learn

R Programming

R for data analysis, charts and statistics: the tidyverse, ggplot2 and the models health, pharma and insurance teams use.

All 42 Documents 12 Books 27 Courses 3
All levels Beginner Intermediate Advanced Expert

AiTeky Originals

Our own lessons in plain English. Run the code right here and check your answers as you go.

All 5 R Programming originals →
Interactive Learning & PracticeBeginner 6 lessons · ▶ code runs in your browser R basics: your first steps in the language of statistics Vectors, missing values, data frames, functions and loops in R, then two real jobs: a shop's sales report and a messy used-car file, all run in your browser. Interactive Learning & PracticeBeginner 6 lessons · ▶ code runs in your browser The tidyverse: handle tables the way R teams do today Filter, select, sort, add columns, group and total, join tables and reshape them with dplyr and tidyr, then build a branch report against targets and a telecom churn table. Interactive Learning & PracticeBeginner 6 lessons · ▶ code runs in your browser Charts with ggplot2: clear pictures from data in R Build charts layer by layer with ggplot2: scatter plots, bars, histograms, box plots, lines, colour, small multiples, scales and themes, then a sales chart pack, a misleading chart fixed and a used-car price chart. Interactive Learning & PracticeIntermediate 7 lessons · ▶ code runs in your browser Statistics in R: tests, intervals and models the way analysts use them Describe data, give honest margins of error, test differences in means and rates, fit linear and logistic regression, and plan a test's sample size in R, then report an A/B test and a loan-default model. Interactive Learning & PracticeIntermediate 6 lessons · ▶ code runs in your browser R for health, pharma and insurance: trials, survival curves and claim models Analyse a blood-pressure trial, draw Kaplan-Meier curves, compare treatments with the log-rank test and Cox model, and price motor insurance with Poisson claim models, then write a trial readout and a pricing note.

Beginner

Start here. No background needed beyond school maths.

Book Beginner ↗ External site

Data Visualization: A Practical Introduction

A social scientist's guide to making good charts in ggplot2, from first plots to maps and model results.

Book Beginner ↗ External site

Fundamentals of Data Visualization

How to choose and design honest, clear charts, with every example made in ggplot2. About judgement more than code.

Book Beginner ↗ External site

ggplot2: Elegant Graphics for Data Analysis (3rd edition)

The ggplot2 book by its author: layers, scales, coordinates, facets and themes, explained from the grammar of graphics up.

Book Beginner ↗ External site

Hands-On Programming with R

Learn R as a programming language by building small projects: a dice roller, a deck of cards and a slot machine. Covers objects, functions, loops and environments gently.

Book Beginner ↗ External site

Happy Git and GitHub for the useR

A friendly guide to using Git and GitHub from R and RStudio: installing, connecting, committing and working with others on R projects.

Book Beginner ↗ External site

Introduction to Data Science (Data Analysis and Prediction Algorithms with R)

A Harvard professor's free book: R, the tidyverse, charts, probability, inference, regression and machine learning, taught through real case studies.

Book Beginner ↗ External site

Introduction to Modern Statistics

A free, modern statistics textbook with R tutorials: exploring data, regression, inference by simulation and by formula.

Book Beginner ↗ External site

R for Data Science (2nd edition)

The standard free book for learning R the modern way: importing, tidying, transforming and charting data with the tidyverse, then communicating results with Quarto.

Book Beginner ↗ External site

R Graphics Cookbook (2nd edition)

Hundreds of short recipes for ggplot2 charts: bar charts, line charts, scatter plots, annotations, colours and legends, each with code you can copy.

Book Beginner ↗ External site

R Markdown: The Definitive Guide

Everything about R Markdown documents: reports, presentations, dashboards and books built from text and R code.

Book Beginner ↗ External site

R Programming for Data Science

A short, practical book on R as a language for data work: reading data, control structures, functions, loops, debugging and simulation.

Book Beginner ↗ External site

Statistical Inference via Data Science (ModernDive)

Introductory statistics taught with R and the tidyverse: regression, sampling, bootstrapping, confidence intervals and hypothesis tests.

Book Beginner ↗ External site

The Epidemiologist R Handbook

A practical R manual written by field epidemiologists: cleaning case data, epidemic curves, survival, maps, outbreak reports and dashboards, with real public health examples.

More in AI & Data Science

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in