R Programming
R for data analysis, charts and statistics: the tidyverse, ggplot2 and the models health, pharma and insurance teams use.
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 →Advanced
Once the core skills are comfortable.
admiral: ADaM Datasets in R
An open-source R package for building the analysis datasets (ADaM) that clinical trial reports are made from, with worked examples.
Advanced R
How R really works: environments, functions, object systems, metaprogramming and performance. Read it once the basics feel easy.
Bayes Rules! An Introduction to Applied Bayesian Modeling
A friendly introduction to Bayesian statistics with R: priors, posteriors, regression and hierarchical models, with plenty of worked examples.
CRAN Task Views
Curated lists of the best R packages by subject: clinical trials, survival analysis, econometrics, finance, spatial data, time series and many more.
Geocomputation with R
Working with maps and spatial data in R: points, boundaries, rasters, map making and spatial modelling with sf and terra.
gtsummary: Publication-Ready Tables
Make baseline tables and model result tables in R that are ready for a paper or a clinical report, in a few lines of code.
Introduction to Econometrics with R
An econometrics course in R: regression, panel data, instrumental variables and time series, with interactive examples.
Loss Data Analytics
A free, open actuarial textbook with R code: claim frequency and severity models, credibility, pricing and insurance portfolio management.
Mastering Shiny
Build interactive web apps and dashboards in R with Shiny: inputs, outputs, reactivity, modules and testing.
Modern Statistics for Modern Biology
Statistics for biologists with R and Bioconductor: testing, clustering, multivariate methods and high-throughput data.
Orchestrating Single-Cell Analysis with Bioconductor
How to analyse single-cell gene expression data in R with Bioconductor: quality control, normalisation, clustering and marker genes.
pharmaverse: Open-Source R for Clinical Reporting
A collection of open-source R packages, built by drug companies together, for producing clinical trial datasets and reports in R.
R for Clinical Study Reports and Submission
How to produce the tables, listings and figures of a clinical study report in R, and prepare an R-based submission to a drug regulator.
R Packages (2nd edition)
How to turn your R functions into a proper package with documentation, tests and checks, the way professional R teams share code.
renv: Project Environments for R
Keep each R project's package versions recorded and repeatable, so a colleague or a server gets the same results months later.
Survival Analysis in R (tutorial)
A clear tutorial on time-to-event data in R: censoring, Kaplan-Meier curves, the log-rank test, Cox regression and reporting the results.
Telling Stories with Data
A complete workflow for data science in R: gathering data, cleaning, modelling, writing it up and making the work reproducible, with real examples.
Text Mining with R
Tidy text analysis in R: word counts, sentiment, tf-idf, word pairs and topic models, using the tidytext package.
The survival Package: Survival Analysis Vignette
The survival package's own guide by its author: Surv objects, survfit, coxph, checking proportional hazards and more advanced models.
The targets R Package User Manual
Build R analysis pipelines that only re-run the steps whose inputs changed. Useful for long reports and model pipelines.
Tidy Modeling with R
How to build, tune and check machine learning models in R with the tidymodels packages: splitting data, recipes, resampling and model comparison.

