Skip to main content

Intermediate R

60 reviews

Continue your journey to becoming an R ninja by learning about conditional statements, loops, and vector functions.

Start Course for Free
6 Hours14 Videos81 Exercises550,214 Learners6950 XPData Scientist with R TrackData Scientist Professional with R TrackR Programming Track

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Course Description

Intermediate R is the next stop on your journey in mastering the R programming language. In this R training, you will learn about conditional statements, loops, and functions to power your own R scripts. Next, make your R code more efficient and readable using the apply functions. Finally, the utilities chapter gets you up to speed with regular expressions in R, data structure manipulations, and times and dates. This course will allow you to take the next step in advancing your overall knowledge and capabilities while programming in R.
  1. 1

    Conditionals and Control Flow


    In this chapter, you'll learn about relational operators for comparing R objects, and logical operators like "and" and "or" for combining TRUE and FALSE values. Then, you'll use this knowledge to build conditional statements.

    Play Chapter Now
    Relational Operators
    50 xp
    100 xp
    Greater and less than
    100 xp
    Compare vectors
    100 xp
    Compare matrices
    100 xp
    Logical Operators
    50 xp
    & and |
    100 xp
    & and | (2)
    100 xp
    Reverse the result: !
    50 xp
    Blend it all together
    100 xp
    Conditional Statements
    50 xp
    The if statement
    100 xp
    Add an else
    100 xp
    Customize further: else if
    100 xp
    Else if 2.0
    50 xp
    Take control!
    100 xp
  2. 5


    Mastering R programming is not only about understanding its programming concepts. Having a solid understanding of a wide range of R functions is also important. This chapter introduces you to many useful functions for data structure manipulation, regular expressions, and working with times and dates.

    Play Chapter Now

In the following tracks

Data Scientist with RData Scientist Professional with RR Programming


Introduction to R
Filip Schouwenaars Headshot

Filip Schouwenaars

Data Science Instructor at DataCamp

Filip is the passionate developer behind several of DataCamp's most popular Python, SQL, and R courses. Currently, Filip leads the development of DataCamp Workspace. Under the motto 'Eat your own dog food', he uses the techniques DataCamp teaches its students to understand how users learn on and interact with DataCamp. Filip holds degrees in Electrical Engineering and Artificial Intelligence.
See More

Don’t just take our word for it

from 60 reviews
Sort by
  • Thierno D.
    9 days


  • Kevin T.
    10 days

    The instructor was very good

  • Youngkee J.
    14 days

    Thank you!

  • Lisa C.
    15 days

    I thought this course worked well - I completed this on my mobile and generally it worked well. It easier if you do it a concisely as possible to consolidate steps.

  • Paulette M.
    30 days

    I enjoyed intermediate R.

  • Loading ...


Thierno D.

"The instructor was very good"

Kevin T.

"Thank you!"

Youngkee J.

Join over 11 million learners and start Intermediate R today!

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.