Readable Code with Pipes
Learn to write readable R code by using pipe operators from the magrittr package to clearly express a sequence of multiple operations
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:
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
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.
Slides
R Script
Data
Blog Post
Course Objectives
Case Study
Sample Data
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
Learn to extract data - Part 1
Learn to extract data - Part 2
Arithmetic & Logical Operators
Course Summary