Video Tutorials
Watch real R and Quarto code run in a live RStudio session — each video is paired with a hands-on page where you can edit and run the same code yourself. New videos are added regularly.
Prefer YouTube? Every tutorial is on our channel with subtitles: ▶ youtube.com/@rverseanalytics — subscribe to catch new lessons.
Watch & learn
R basics
Start here — the fundamentals of R, each in about a minute.
R Basics
Use R as a calculator, store values in variables, call functions and write comments — the essentials in two minutes.
Watch →
Vectors in R
Create vectors, index elements and run maths on every value at once — the building block of R.
Watch →
Data Types in R
Numeric, character, logical and factor — check a type with class() and convert with the as.* functions.
Watch →
Subsetting & Indexing
Square brackets, [rows, columns], $ and [[ ]] — pull out exactly the elements you want.
Watch →
Logical Conditions & if/else
Comparisons, combining tests with & | %in%, and branching with if/else and ifelse().
Watch →
Data Frames in R
Build a table, pull columns with the dollar sign, filter rows and explore a built-in dataset.
Watch →
Factors in R
Store categorical data, set the level order, and let factors drive grouping in plots and models.
Watch →
Missing Values (NA)
Find gaps with is.na(), ignore them with na.rm, drop rows with na.omit(), or fill them in.
Watch →
Reading Data into R
The working directory, read.csv() and write.csv(), and inspecting a fresh import with str().
Watch →
Writing Your Own Functions
Define a function, give arguments defaults, return a result, and apply it across many values.
Watch →
Installing & Loading Packages
install.packages() once, library() each session, and package::function() for a single tool.
Watch →
Your First Plot in R
Histograms, scatter plots, a regression trend line and boxplots — with base R graphics.
Watch →
Basic Statistics in R
Summaries, a frequency table, correlation, a t-test and a linear model — the statistics starter kit.
Watch →
Data Wrangling with dplyr
The core verbs — filter, select, mutate, group_by and summarise — for tidy data manipulation.
Watch →
The Pipe (|>)
Turn nested calls into a readable top-to-bottom pipeline with R's native pipe operator.
Watch →Biostatistics & clinical reporting
Applied methods from clinical and health-sciences research. New: browse all fifteen — each a short video with the exact R code to copy — in the Biostatistics in R video course →.
Table 1 with gtsummary
Baseline characteristics by treatment arm — an automatic test per row, labels and an overall column.
Watch →
Logistic Regression & Odds Ratios
Fit a logistic model, report adjusted odds ratios with CIs, then measure discrimination with ROC and AUC.
Watch →
Chi-square & Fisher's Test
Test whether two categorical variables are associated — with expected counts and Fisher's exact test.
Watch →
Correlation: Pearson & Spearman
A correlation test with a confidence interval, when to use ranks, and always plotting the data.
Watch →
Sample Size & Power
Plan a study before collecting data — with power.t.test and the pwr package.
Watch →
Clinical Tables with gtsummary
A grouped Table 1 with p-values, a regression table of odds ratios, and one-line export to HTML and Word.
Watch →
Scientific Reporting with Quarto
Build a reproducible report — YAML, code chunks, cross-references, inline results — then render it to HTML, PDF and Word.
Watch →Every video is recorded in real R — no slides, no edited screen, just code and output. Follow along on the linked page, or explore the full interactive R course.
Free R, Markdown & Quarto cheat sheets
One-page PDF guides — the “Which test?” decision chart, Markdown syntax, and Quarto reporting — free to download. Add your email for the occasional R tip too. No spam, unsubscribe anytime.