Course Description

About the Course

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

What are the prerequisites for this course?

  • Introduction to R
  • Good internet connection
  • Passion to learn

Course curriculum

  • 1

    Course Materials

    • Slides

    • R Script

    • Data

    • Blog Post

  • 2

    Introduction

    • 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

    Summary

    • Course Summary

Recommended Courses