One Course
Every lesson, project and mock exam in R.
Billed monthly. Cancel any time.
Level 1: Newcomer
0 points
Sign in to save your progress across devices.
Courses / Data and analytics tools
An R programming tutorial in a working R session in your browser. Every lesson has worked examples, then practice scripts checked against the result, from vectors and data frames to dplyr, tidyr, ggplot2 and statistics. Four projects and two mock exams come at the end.
Unit 1, R basics: 5 lessons and 28 checked exercises, with no account or card.
Start the free unitThe rest of the course opens with a One Course or All Access plan. See plans and prices
Choose access here. Your course is already selected.
Clean a messy fleet export, parse its dates, flag overdue bikes, join districts and chart the result for the operations manager.
6 steps · 40 minProject · AdvancedFernhill campaign reviewClean a campaign export, work out cost per order and return on ad spend, compare channels and months, and chart revenue for the quarterly review.
7 steps · 45 minCase study · AdvancedLumen Books checkout testAnalyze an online checkout test end to end: conversion, lift, two significance tests, revenue per session and a decision.
6 steps · 35 minProject · ExpertSaltmarsh attrition reviewFind where staff turnover concentrates at a logistics company: rates by department and overtime band, ratings, a test, a logistic model and a chart for the HR director.
7 steps · 50 minProject · ExpertOrchard Lane operations dashboardBuild the numbers behind a weekly fulfillment dashboard: lateness, weekly on-time rates per warehouse, carrier KPIs, a chart against target, the worst week and overdue shipments.
6 steps · 45 minCase study · ExpertKestrel Software price testPick a launch price from a randomized price test: conversion and revenue per visitor, elasticity, a significance test and a projection.
6 steps · 35 minMock exam · ExpertBramble & Pine garden centersA 45-minute take-home style test on a garden center chain's April sales: cleaning, joins, ranks, a chart, a function, a test and a reshape.
8 questions · 45 minMock exam · ExpertBluewater FerriesA 45-minute take-home style test on a ferry operator's sailings: load factors, punctuality, sold-out sailings, weekly change, a function, a chart and a correlation.
8 questions · 45 minWrite and run real R in your browser, in the four-pane layout R users work in: a script, the console, the environment and your plots. You start with values, vectors and data frames, then filter, sort and summarize tables with dplyr and draw charts with ggplot2. Later units cover importing and cleaning messy data, joins, reshaping with tidyr, text and dates, functions and iteration, and the statistics analysts use most. Projects ask you to clean, analyze and chart data for fictional companies. Every answer is checked on a second copy of the data, and the course ends with interview practice and two timed tests.
Explain what you've learned in a full-screen interview. Speak or type, then review your answers against the rubric for your level.
Interview loops by jobBeginner
Values, vectors, functions and data frames, the pieces every R script is made of.
Filter rows, handle missing values, choose columns and sort with dplyr and the pipe.
Calculate columns, label rows, and summarize whole tables and groups.
Draw scatter, bar and line charts with ggplot2, label them, and answer easy interview questions.
Intermediate
Read CSV exports, turn text into numbers, handle missing values and remove duplicates.
Combine tables with left, inner and filtering joins, handle awkward keys and stack exports.
Reshape between wide and long, split and join columns, and fill missing rows and cells.
Clean text with stringr, work with dates in lubridate, order categories with forcats, then build a fleet report.
Advanced
Compare rows with their neighbors, keep running totals, rank within groups and summarise many columns at once.
Write your own functions, repeat steps over columns, groups and files with purrr, and stack the results.
Small multiples, axis scales, reference lines and labels, then a campaign review for a marketing lead.
Correlation, linear models and t-tests, an A/B test case study and medium interview questions.
Expert
Seeds, checks and parameters, the bootstrap and simulation, and vectorized code that replaces loops.
An HR attrition review, an operations dashboard and a pricing case study, each from raw data to a recommendation.
Hard interview questions and two 45-minute mock exams in the style of an analyst take-home test.
No. R runs in your browser through webR, in four panes laid out the way R users work: a script, the console, the environment and your plots. The first lesson downloads R once, then it stays in your browser cache. It isn't RStudio, and The Work Gym isn't affiliated with the R Foundation or Posit.
The first unit is free and needs no account. The rest of the course opens with a One Course or All Access plan, and the pricing page shows every plan and its price.
By the objects your script creates: tables, numbers and charts. Each answer is run again on a second copy of the data with other values, so the code has to be right, not just the numbers you can see. A wrong answer gets a hint that names the likely mistake.
The Advanced and Expert levels cover correlation, linear and logistic models, t-tests and proportion tests, the bootstrap and simulation, used inside realistic case studies.
About 23 hours if you do every lesson once. Most lessons take 15 to 25 minutes; each timed test takes 45.
Sign in, and each project, case study and mock exam you finish gives you a record of what you did and when, with a code anyone can use to check it.