Tutorials

R Tutorials Link to heading

Tutorials on R in general, for anyone working with data and not tied to CTTIR projects: a knowledge base of more than 550 runnable method pages in 16 topic areas, from probability and visualisation to regression, Bayesian inference, survival analysis, machine learning and bioinformatics, with a test-selection decision tree and companion Shiny apps. It is a first point of entry and an in-depth reference at the same time.

CTTIR.github.io/tutorials

Tutorial series on this site Link to heading

A short R statistics tutorial series hosted on this site. It is designed to take you from summarising raw data all the way to building and interpreting complex statistical models — with beautiful visualisations along the way.

Each tutorial includes fully reproducible R code that you can copy and run in your own R environment.

Learning Path Link to heading

#TutorialTopics
1Descriptive StatisticsMean, median, SD, quantiles, frequency tables
2Data Visualisationggplot2, histograms, boxplots, scatterplots
3Inferential Statisticst-tests, ANOVA, chi-square, non-parametric tests
4Regression & ModellingLinear models, GLM, mixed models, diagnostics

Prerequisites Link to heading

  • R (version 4.0+) installed — Download R
  • RStudio recommended — Download RStudio
  • Packages used throughout: tidyverse, ggplot2, car, lme4
# Install all required packages
install.packages(c("tidyverse", "ggplot2", "car", "lme4", "broom"))