Course Description

R code contain a lot of parentheses in case of a sequence of multiple operations. When you are dealing with complex code, it results in nested function calls which are hard to read and maintain. The magrittr package by Stefan Milton Bache provides pipes enabling us to write R code that is readable.

What will I learn?

After completing this course, you should be able to:

  • use the following pipe operators
    • %>%
    • %$%
    • %<>%
  • clearly express a sequence of multiple operations by:
    • structuring operations from left to right
    • avoiding
      • nested function calls
      • intermediate steps
      • overwriting of original data
    • minimizing creation of local variables

Self Paced Online Courses

Our online self paced courses are designed to allow participants to learn at their convenience. Learning outcomes are clearly defined and enhanced by the use of byte sized videos, PPTs, assignments, quizzes, suggested reading and case studies. Participants can take advantage of the discussion forum to discuss with their peers and the instructors to enhance their learning experience.

Course Features

Course Requirements

  • Access to a computer with an internet connection

  • Ability and permissions to download files & install software

  • Basic knowledge of English (Course is delivered in English language)

Who is this course for?

We expect the students to have some prior experience with R and RStudio. If you have never used R before, our Introduction to R course will help you prepare for this course.

If I do not meet the requirements to enroll, what should I do?

We have a number of free courses that can help you prepare including:

  • Introduction to R

  • Import Data into R

  • Data Wrangling with dplyr

How will I execute the practical's?

You will use RStudio for the practical's. All the R scripts used in the examples, assignments and case study are available for download from the Learning Management System. For those of you who face issues installing RStudio on your system, we have created a RStudio cloud project where you can practice without installing any software or downloading files.

Do I need to apply? What are the admission criteria?

No. This course is open to enrolment for all and accepts students regardless of experience and background.

Course curriculum

  • 1

    Course Materials

    • Slides

    • R Script

    • Data

    • Blog Post

  • 2


    • Course Objectives

    • Case Study

    • Sample Data

  • 3

    Case Studies

    • Display data

    • Square Root - Part 1

    • Square Root - Part 2

    • Correlation - Part 1

    • Correlation - Part 2

    • Visualization - Part 1

    • Visualization - Part 2

    • Regression

    • String Manipulation - Part 1

    • String Manipulation - Part 2

  • 4

    Data Extraction & Operators

    • Learn to extract data - Part 1

    • Learn to extract data - Part 2

    • Arithmetic & Logical Operators

  • 5


    • Course Summary

Recommended Courses