Statistics with R

Learn R by running it.

Ten courses take you from your first mean() to mixed models, forecasting, clustering and random forests โ€” in R, the language statisticians actually use. Every lesson comes with a lab that runs real R in your browser: you write the code, you see the console and the plot, the server tells you whether the answer is right. Nothing to install.

The first course is free in full โ€” lessons, labs, final exam and the certificate. No card, no trial clock.

๐Ÿงช
Real R, in the page

Not a quiz about R โ€” R itself, running in your browser. Write t.test(x ~ group, data = df), read the output, get told if your answer is right. 80 labs so far.

๐ŸŽ“
University-level, not tips

Assumptions, when a test breaks, what a p-value really says. The maths is explained, then done โ€” with the exact R function and its exact output.

๐Ÿ“„
A certificate per course

Pass the final exam and get a certificate with a public verification link and a PDF โ€” one for every course you finish.

The honest part

Assumptions first. Then the function.

R will happily run a t-test on data that violates every assumption the test makes, and print a p-value to four decimals. These courses teach the assumption, how to check it in R, and what to do when it fails โ€” before the function call. Base R where it is enough, dplyr and ggplot2 where they genuinely help, and a clear note whenever a method needs a package the browser lab cannot load, so you know what to run in RStudio.

Curriculum

Ten courses, in order

10 courses ยท 80 lessons ยท one certificate each

๐Ÿงฎ R Basics
The console, vectors and functions: the three things every R script is made of.
Free, in full
๐Ÿ—‚๏ธ Data Structures
Types, factors, lists and data frames: how R stores data and how you get at it.
8 lessons ยท Beginner
๐Ÿ” R Programming
Conditions, loops, functions and the apply family: turning one-off console work into code that runs on its own.
8 lessons ยท Beginner
๐Ÿงน Data Import and Cleaning
Reading files, fixing types, dates and missing values, and reshaping until every row is one observation.
8 lessons ยท Beginner
๐Ÿ”— dplyr and tidyr
Six verbs, the pipe, joins and reshaping โ€” the grammar behind almost every R data pipeline.
8 lessons ยท Beginner
๐Ÿ“ˆ ggplot2
The grammar of graphics: build any plot from data, aesthetics, geoms, scales, facets and themes โ€” and know what it can hide.
8 lessons ยท Beginner
๐Ÿ“Š Descriptive Statistics
Centre, spread, shape, quantiles, outliers and grouped summaries โ€” and why quantile() disagrees with Excel.
8 lessons ยท Intermediate
๐ŸŽฒ Probability Distributions
The d/p/q/r functions for normal, binomial, Poisson, exponential, uniform, t, chi-square and F โ€” plus simulation and normality checks.
8 lessons ยท Intermediate
๐ŸŽฒ Sampling and the Central Limit Theorem
Why one sample can stand in for a population, how far its mean can be off, and what shrinks that error.
8 lessons ยท Intermediate
๐Ÿ“ Confidence Intervals
Turning a standard error into a range for the mean, a proportion or a difference โ€” and reading that range correctly.
8 lessons ยท Intermediate

Start with the free course.

If it teaches you something you can use tomorrow, the rest are waiting.

Open R Basics