AiTeky Original Interactive Learning & Practice Beginner
R basics: your first steps in the language of statistics
Vectors, missing values, data frames, functions and loops in R, then two real jobs: a shop's sales report and a messy used-car file, all run in your browser.
R is a programming language built by statisticians for working with data. Hospitals, drug companies, insurers, banks, research labs and government survey teams use it every day. A clinical trial report, an insurance price or a crop-yield study is very often made in R.
You do not need to know any other language first. Every box in this course runs R right here in your browser: press Run, change the code and run it again. The first run takes about half a minute while R starts.
We use everyday examples: a tiffin centre's plates, auto fares, tomato prices at the mandi, a class's study hours and an electricity bill.
- Learn lessons explain one idea at a time, with small exercises you can try again and again.
- Industry ready lessons give you real files and real questions, and the interview questions that go with them.
After this course, go on to the tidyverse course (the modern way to handle tables in R), then charts with ggplot2 and statistics in R.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 20 min Free sample π AiTeky Pass Numbers and vectors: R as a smart calculator Use R as a calculator, store values with <-, keep a whole week of numbers in one vector, and add, compare and sum them all at once.
- 02 25 min π AiTeky Pass Pick out values and handle missing data Pick values from a vector by position or by a test, find where they are with which(), sort them, and handle NA, R's mark for a missing value, without wrong answers.
- 03 30 min π AiTeky Pass Data frames: tables in R, read from a CSV file Build a small table, read a real CSV file with read.csv(), look at its shape and columns, pick rows and columns, add a new column and sort the table.
- 04 30 min π AiTeky Pass Functions, decisions and loops Write your own R functions with default values, make decisions with if and else, repeat work with for loops and sapply(), and label a whole vector at once with ifelse().
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.
- 05 35 min π AiTeky Pass On the job: a quarter's sales report for an electronics chain, in base R Read three months of sales from three branches, find and fix branch names that do not match, add revenue, total it by branch, category and month with aggregate() and tapply(), draw a bar chart and practise the interview questions.
- 06 40 min π AiTeky Pass On the job: clean 900 used-car listings and price them fairly Clean a real listings file in R: find impossible prices, fix values typed in the wrong unit, handle missing kilometres, turn text into factors, make age and distance bands with cut(), compare median prices and practise the interview questions.

