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.

Advanced

Once the core skills are comfortable.

Document Advanced ↗ External site

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.

Book Advanced ↗ External site

Advanced R

How R really works: environments, functions, object systems, metaprogramming and performance. Read it once the basics feel easy.

Book Advanced ↗ External site

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.

Document Advanced ↗ External site

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.

Book Advanced ↗ External site

Geocomputation with R

Working with maps and spatial data in R: points, boundaries, rasters, map making and spatial modelling with sf and terra.

Document Advanced ↗ External site

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.

Book Advanced ↗ External site

Introduction to Econometrics with R

An econometrics course in R: regression, panel data, instrumental variables and time series, with interactive examples.

Book Advanced ↗ External site

Loss Data Analytics

A free, open actuarial textbook with R code: claim frequency and severity models, credibility, pricing and insurance portfolio management.

Book Advanced ↗ External site

Mastering Shiny

Build interactive web apps and dashboards in R with Shiny: inputs, outputs, reactivity, modules and testing.

Book Advanced ↗ External site

Modern Statistics for Modern Biology

Statistics for biologists with R and Bioconductor: testing, clustering, multivariate methods and high-throughput data.

Book Advanced ↗ External site

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.

Document Advanced ↗ External site

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.

Book Advanced ↗ External site

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.

Book Advanced ↗ External site

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.

Document Advanced ↗ External site

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.

Document Advanced ↗ External site

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.

Book Advanced ↗ External site

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.

Book Advanced ↗ External site

Text Mining with R

Tidy text analysis in R: word counts, sentiment, tf-idf, word pairs and topic models, using the tidytext package.

Document Advanced ↗ External site

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.

Book Advanced ↗ External site

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.

Book Advanced ↗ External site

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.

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