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 →Beginner
Start here. No background needed beyond school maths.
An Introduction to R (official manual)
Expert's own introduction: vectors, data frames, functions, statistical models and graphics, straight from the people who maintain R.
Quarto: Get Started
Write reports, slides and websites that mix text with R code and its results. Quarto is the successor to R Markdown and also works with Python.
RStudio and Posit Cheatsheets
One-page printable summaries for dplyr, tidyr, ggplot2, stringr, lubridate, Shiny, R Markdown and more. Keep them open while you practise.
Shiny: Get Started
The official step-by-step tutorial for building your first Shiny app in R, from layout and inputs to reactive outputs and sharing the app.
Tidyverse: Learn the Tidyverse
The ••••'s own starting page: which book to read, which package does what, and where to find help for dplyr, tidyr, readr and ggplot2.
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.
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.
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.
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.
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.
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.

