
8-week R unit · no experience needed
R for Marketing
Start with your first line of R code. Learn to spot patterns, understand regression, and turn numbers into advice a business owner can use.
Your case is Luz’s Tacos: a small food truck with a big question. Do warmer days or Instagram ads bring in more sales? You'll work with 30 days of records to find out—no coding or statistics background needed.
Save your lesson progress and pick up where you left off. Your quiz scores are practice feedback and aren't saved to your account.
Your course in 33 seconds
Read the video transcriptFrom your first command to your first recommendation

Get comfortable with R
Explore Luz’s sales data, already loaded in your built-in R workspace. Run short code examples and make charts that show what's happening at the truck.

Make sense of the numbers
Explore correlation, try fitting a line yourself, and learn what regression results mean in marketing terms.

Build your confidence
Check your understanding with practice quizzes. Ask the AI tutor about your code or results when you get stuck.
In Week 4, you'll write advice to Luz about her ad budget, using charts and correlation. Later, you'll revisit that advice with regression. These eight lessons support your 14-week course; your real-client midterm and final project stay with your instructor.
Your learning path
- 01Hello, RWhat did Luz's truck sell last week?
- 02Data frames: R's spreadsheetHow do we load a month of sales?
- 03Seeing patternsDo hot days sell more tacos?
- 04Measuring the linkHow strong is the weather effect?
- 05Least squares, by handWhich line best describes the dots?
- 06Let R do it: lm()How much is one extra degree worth?
- 07Predicting & adding adsShould Luz spend more on Instagram?
- 08Checking the model & pitchingCan Luz trust it?