Search our courses
Training

Over the past few years, R has been steadily gaining popularity with business analysts, statisticians and data scientists as a tool of choice for conducting statistical analysis of data as well as supervised and unsupervised machine learning.


Objectives:

This intensive R Programming Introduction training course helps students learn the practical aspects of the R programming language. The course is supplemented by many hands-on labs which allow attendees to immediately apply their theoretical knowledge in practice.


Topics:

  •     High octane introduction to R programming
  •     Learning about R data structures
  •     Working with R functions
  •     Statistical data analysis with R

R Programming Introduction

Course Code

GTR1

Duration

2 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • Business Analysts, Technical Managers, and Programmers

Attendee Requirements

  • Participants should have the general knowledge of statistics and programming

Expand all

Course Description

Over the past few years, R has been steadily gaining popularity with business analysts, statisticians and data scientists as a tool of choice for conducting statistical analysis of data as well as supervised and unsupervised machine learning.


Objectives:

This intensive R Programming Introduction training course helps students learn the practical aspects of the R programming language. The course is supplemented by many hands-on labs which allow attendees to immediately apply their theoretical knowledge in practice.


Topics:

  •     High octane introduction to R programming
  •     Learning about R data structures
  •     Working with R functions
  •     Statistical data analysis with R
Course Outline

Chapter 1. What is R

  •     What is R?
  •     Positioning of R in the Data Science Space
  •     The Legal Aspects
  •     Microsoft R Open
  •     R Integrated Development Environments
  •     Running R
  •     Running RStudio
  •     Getting Help
  •     General Notes on R Commands and Statements
  •     Assignment Operators
  •     R Core Data Structures
  •     Assignment Example
  •     R Objects and Workspace
  •     Printing Objects
  •     Arithmetic Operators
  •     Logical Operators
  •     System Date and Time
  •     Operations
  •     User-defined Functions
  •     Control Statements
  •     Conditional Execution
  •     Repetitive Execution
  •     Repetitive execution
  •     Built-in Functions

Chapter 2. Introduction to Functional Programming with R

  •     What is Functional Programming (FP)?
  •     Terminology: Higher-Order Functions
  •     A Short List of Languages that Support FP
  •     Functional Programming in R
  •     Vector and Matrix Arithmetic
  •     Vector Arithmetic Example
  •     More Examples of FP in R

Chapter 3. Managing Your Environment

  •     Getting and Setting the Working Directory
  •     Getting the List of Files in a Directory
  •     The R Home Directory
  •     Executing External R commands
  •     Loading External Scripts in RStudio
  •     Listing Objects in Workspace
  •     Removing Objects in Workspace
  •     Saving Your Workspace in R
  •     Saving Your Workspace in RStudio
  •     Saving Your Workspace in R GUI
  •     Loading Your Workspace
  •     Diverting Output to a File
  •     Batch (Unattended) Processing
  •     Controlling Global Options

Chapter 4. R Type System and Structures

  •     The R Data Types
  •     System Date and Time
  •     Formatting Date and Time
  •     Using the mode() Function
  •     R Data Structures
  •     What is the Type of My Data Structure?
  •     Creating Vectors
  •     Logical Vectors
  •     Character Vectors
  •     Factorization
  •     Multi-Mode Vectors
  •     The Length of the Vector
  •     Getting Vector Elements
  •     Lists
  •     A List with Element Names
  •     Extracting List Elements
  •     Adding to a List
  •     Matrix Data Structure
  •     Creating Matrices
  •     Creating Matrices with cbind() and rbind()
  •     Working with Data Frames
  •     Matrices vs Data Frames
  •     A Data Frame Sample
  •     Creating a Data Frame
  •     Accessing Data Cells
  •     Getting Info About a Data Frame
  •     Selecting Columns in Data Frames
  •     Selecting Rows in Data Frames
  •     Getting a Subset of a Data Frame
  •     Sorting (ordering) Data in Data Frames by Attribute(s)
  •     Editing Data Frames
  •     The str() Function
  •     Type Conversion (Coercion)
  •     The summary() Function
  •     Checking an Object's Type

Chapter 5. Extending R

  •     The Base R Packages
  •     Loading Packages
  •     What is the Difference between Package and Library?
  •     Extending R
  •     The CRAN Web Site
  •     Extending R in R GUI
  •     Extending R in RStudio
  •     Installing and Removing Packages from Command-Line

Chapter 6. Read-Write and Import-Export Operations in R

  •     Reading Data from a File into a Vector
  •     Example of Reading Data from a File into A Vector
  •     Writing Data to a File
  •     Example of Writing Data to a File
  •     Reading Data into A Data Frame
  •     Writing CSV Files
  •     Importing Data into R
  •     Exporting Data from R

Chapter 7. Statistical Computing Features in R

  •     Statistical Computing Features
  •     Descriptive Statistics
  •     Basic Statistical Functions
  •     Examples of Using Basic Statistical Functions
  •     Non-uniformity of a Probability Distribution
  •     Writing Your Own skew and kurtosis Functions
  •     Generating Normally Distributed Random Numbers
  •     Generating Uniformly Distributed Random Numbers
  •     Using the summary() Function
  •     Math Functions Used in Data Analysis
  •     Examples of Using Math Functions
  •     Correlations
  •     Correlation Example
  •     Testing Correlation Coefficient for Significance
  •     The cor.test() Function
  •     The cor.test() Example
  •     Regression Analysis
  •     Types of Regression
  •     Simple Linear Regression Model
  •     Least-Squares Method (LSM)
  •     LSM Assumptions
  •     Fitting Linear Regression Models in R
  •     Example of Using lm()
  •     Confidence Intervals for Model Parameters
  •     Example of Using lm() with a Data Frame
  •     Regression Models in Excel
  •     Multiple Regression Analysis

Chapter 8. Data Manipulation and Transformation in R

  •     Applying Functions to Matrices and Data Frames
  •     The apply() Function
  •     Using apply()
  •     Using apply() with a User-Defined Function
  •     apply() Variants
  •     Using tapply()
  •     Adding a Column to a Data Frame
  •     Dropping A Column in a Data Frame
  •     The attach() and detach() Functions
  •     Sampling
  •     Using sample() for Generating Labels
  •     Set Operations
  •     Example of Using Set Operations
  •     The dplyr Package
  •     Object Masking (Shadowing) Considerations
  •     Getting More Information on dplyr in RStudio
  •     The search() or searchpaths() Functions
  •     Handling Large Data Sets in R with the data.table Package
  •     The fread() and fwrite() functions from the data.table Package
  •     Using the Data Table Structure

Chapter 9. Data Visualization in R

  •     Data Visualization
  •     Data Visualization in R
  •     The ggplot2 Data Visualization Package
  •     Creating Bar Plots in R
  •     Creating Horizontal Bar Plots
  •     Using barplot() with Matrices
  •     Using barplot() with Matrices Example
  •     Customizing Plots
  •     Histograms in R
  •     Building Histograms with hist()
  •     Example of using hist()
  •     Pie Charts in R
  •     Examples of using pie()
  •     Generic X-Y Plotting
  •     Examples of the plot() function
  •     Dot Plots in R
  •     Saving Your Work
  •     Supported Export Options
  •     Plots in RStudio
  •     Saving a Plot as an Image

Chapter 10. Using R Efficiently

  •     Object Memory Allocation Considerations
  •     Garbage Collection
  •     Finding Out About Loaded Packages
  •     Using the conflicts() Function
  •     Getting Information About the Object Source Package with the pryr Package
  •     Using the where() Function from the pryr Package
  •     Timing Your Code
  •     Timing Your Code with system.time()
  •     Timing Your Code with System.time()
  •     Sleeping a Program
  •     Handling Large Data Sets in R with the data.table Package
  •     Passing System-Level Parameters to R

Lab Exercises

Lab 1 -  Getting Started with R     

Lab 2 -  Learning the R Type System and Structures            

Lab 3 -  Read and Write Operations in R   

Lab 4 -  Data Import and Export in R          

Lab 5 -  k-Nearest Neighbors Algorithm   

Lab 6 - Creating Your Own Statistical Functions    

Lab 7 - Simple Linear Regression  

Lab 8 - Monte-Carlo Simulation (Method)              

Lab 9 -  Data Processing with R    

Lab 10 - Using R Graphics Package             

Lab 11 -  Using R Efficiently 

Learning Path
Ways to Attend
  • Attend a public course, if there is one available. Please check our schedule, or register your interest in joining a course in your area.
  • Private onsite Team training also available, please contact us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 

"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."

 

Kubernetes Administration Certification - GTLFK

Live Online June 2021

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration

13th - 16th August 2024
27th - 30th August 2024
3rd - 6th September 2024
24th - 27th September 2024

Live Online

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

RUST PROGRAMMING

13th - 16th August 2024
27th - 30th August 2024
3rd - 6th September 2024
24th - 27th September 202
4

Live Online

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.

Learn More

Introduction to Python 3 

7th - 9th August 2024
15th - 17th October 2024
29th - 31st October 2024

 

Live Online

This Introduction to Python 3 training course is designed for anyone who needs to learn how to write programs in Python or support/modify existing programs.

 

Learn More

 GO LANG TRAINING

13th - 16th August 2024
27th - 30th August 2024
3rd - 6th September 2024
24th - 27th September 2024

Live Online        

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter