Skip to main content
Serdar Balci avatar

Serdar Balci has completed

Intermediate R: Practice

Start course For Free
4 hours
4,800 XP
Statement of Accomplishment Badge

Loved by learners at thousands of companies


Course Description

This follow-up course on Intermediate R does not cover new programming concepts. Instead, you will strengthen your knowledge of the topics in Intermediate R with a bunch of new and fun exercises.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Conditionals and Control Flow

    Free

    If conditionals are your thing, these exercises will be a walk in the park. Else, let the feedback guide you and add these vital elements of R to your toolkit!

    Play Chapter Now
    Grades analysis in R
    100 xp
    Explore your data
    100 xp
    Understand your data
    50 xp
    Basic queries
    100 xp
    Build aggregates
    100 xp
    Logical operator
    100 xp
    Build aggregates (2)
    100 xp
    if, else
    50 xp
    if, else: DIY
    100 xp
    else if
    100 xp
    Embed if-else clauses
    100 xp
    Operations and controls expertise
    100 xp
  2. 2

    Loops

    Looping through data structures is something you'll often do. While and for loops help you do this. Get more practice on them by analyzing the log data from a chemical plant.

    Play Chapter Now
  3. 3

    Functions

    Functions make R powerful: you can isolate chunks of code, wrap them in a function and use them whenever you want. In this set of exercises, you'll practice more on using functions and writing your own functions.

    Play Chapter Now
  4. 4

    The apply family

    lapply, sapply and vapply are all members of R's apply family: they provide a fast and intuitive alternative to the while and for loops you've learned about before. Become an apply pro with some more practice!

    Play Chapter Now
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

Datasets

The 1912 Titanic ship disasterChemical company log files

Prerequisites

Intermediate R
Filip Schouwenaars HeadshotFilip 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, a collaborative data science notebook. Under the motto 'Eat your own dog food', he uses Workspace to understand how users learn on and interact with DataCamp. Filip holds degrees in Electrical Engineering and Artificial Intelligence.
See More

Join over 14 million learners and start Intermediate R: Practice today!

Create Your Free Account

GoogleLinkedInFacebook

or

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