About this course
In this course, you’ll learn about control flow (including if-else statements) and conditionals. Then, you’ll move into learning about functions and functional programming.
You’ll also learn about iteration, when and why you might choose iteration over vectorization, and how to write for loops and while loops in R.
As you learn these new R programming skills, you’ll be writing your own code to practice them right in your browser window. And you’ll learn all of this while working with real-world data, much as you would for a real data science project.
At the end of the course, you’ll start working on a two-part project that will walk you through building an efficient, reproducible data analysis workflow using R and R Studio.
By the end of this course, you’ll be able to:
- Learn about control flow, iteration, and functional programming in R.
- Write if-else statements, for and while loops, and much more.
- Start building a more in-depth data analysis project workflow using R.
Lessons in this course
Thousands of learners have changed their careers with Dataquest
Learners who recommend
Dataquest for career advancement
Dataquest rating on
G2Crowd and SwitchUp
Average salary boost
for learners who complete a path
Join a community of 1M+ data learners on Dataquest
Sign up for a free account
Get access to hundreds of free lessons.
Choose a course or path
Start anywhere, from beginner topics to advanced concepts.
Learn with hands-on exercises
Learn with real data and build your experience.
Apply your skills
Create projects, build your portfolio, and build your career.