Introduction to R Training Course

Primary tabs

Client Testimonials

Introduction to R

He (the trainer) is excellent. Very patient, can listen well to our questions.

We liked his patience and pace..

Ellen Lentz- Genentech Inc

Introduction to R

Hands-on learning by doing

Guihong Chen - TCF

Introduction to R

Trainer was flexible -- he tried to address our issues.

The course was well organized and the trainer did have the breadth of knowledge, both in the R program and finance industry, necessary to help us.

George Rezek - TCF

Introduction to R

I really appreciated that he (the trainer) was a practitioner and had that perspective.

Bradley Olson - TCF

Introduction to R

He (the trainer) was excellent.

I liked the pace and the focus on principles at the beginning, not skipping over the detail.

Geoff Copps - Mediabrands

Introduction to R

What did you like the most about the training?:

Able to do hands-on and get help from trainer on how to go about working on difficult questions.

Faeiza Ab Rahman - Seagate Singapore International Headquarters Pte. Ltd

Course Code


Duration Duration

21 hours (usually 3 days including breaks)

Requirements Requirements

Good understanding of statistics.

Overview Overview

R is an open-source free programming language for statistical computing, data analysis, and graphics. R is used by a growing number of managers and data analysts inside corporations and academia. R has also found followers among statisticians, engineers and scientists without computer programming skills who find it easy to use. Its popularity is due to the increasing use of data mining for various goals such as set ad prices, find new drugs more quickly or fine-tune financial models. R has a wide variety of packages for data mining.

This course covers the manipulation of objects in R including reading data, accessing R packages, writing R functions, and making informative graphs. It includes analyzing data using common statistical models. The course teaches how to use the R software ( both on a command line and in a graphical user interface (GUI).

Course Outline Course Outline

Introduction and preliminaries

  • Making R more friendly, R and available GUIs
  • The R environment
  • Related software and documentation
  • R and statistics
  • Using R interactively
  • An introductory session
  • Getting help with functions and features
  • R commands, case sensitivity, etc.
  • Recall and correction of previous commands
  • Executing commands from or diverting output to a file
  • Data permanency and removing objects

Simple manipulations; numbers and vectors

  • Vectors and assignment
  • Vector arithmetic
  • Generating regular sequences
  • Logical vectors
  • Missing values
  • Character vectors
  • Index vectors; selecting and modifying subsets of a data set
  • Other types of objects

Objects, their modes and attributes

  • Intrinsic attributes: mode and length
  • Changing the length of an object
  • Getting and setting attributes
  • The class of an object

Ordered and unordered factors

  • A specific example
  • The function tapply() and ragged arrays
  • Ordered factors

Arrays and matrices

  • Arrays
  • Array indexing. Subsections of an array
  • Index matrices
  • The array() function
    • Mixed vector and array arithmetic. The recycling rule
  • The outer product of two arrays
  • Generalized transpose of an array
  • Matrix facilities
    • Matrix multiplication
    • Linear equations and inversion
    • Eigenvalues and eigenvectors
    • Singular value decomposition and determinants
    • Least squares fitting and the QR decomposition
  • Forming partitioned matrices, cbind() and rbind()
  • The concatenation function, (), with arrays
  • Frequency tables from factors

Lists and data frames

  • Lists
  • Constructing and modifying lists
    • Concatenating lists
  • Data frames
    • Making data frames
    • attach() and detach()
    • Working with data frames
    • Attaching arbitrary lists
    • Managing the search path

Reading data from files

  • The read.table()function
  • The scan() function
  • Accessing builtin datasets
    • Loading data from other R packages
  • Editing data

Probability distributions

  • R as a set of statistical tables
  • Examining the distribution of a set of data
  • One- and two-sample tests

Grouping, loops and conditional execution

  • Grouped expressions
  • Control statements
    • Conditional execution: if statements
    • Repetitive execution: for loops, repeat and while

Writing your own functions

  • Simple examples
  • Defining new binary operators
  • Named arguments and defaults
  • The '...' argument
  • Assignments within functions
  • More advanced examples
    • Efficiency factors in block designs
    • Dropping all names in a printed array
    • Recursive numerical integration
  • Scope
  • Customizing the environment
  • Classes, generic functions and object orientation

Statistical models in R

  • Defining statistical models; formulae
    • Contrasts
  • Linear models
  • Generic functions for extracting model information
  • Analysis of variance and model comparison
    • ANOVA tables
  • Updating fitted models
  • Generalized linear models
    • Families
    • The glm() function
  • Nonlinear least squares and maximum likelihood models
    • Least squares
    • Maximum likelihood
  • Some non-standard models

Graphical procedures

  • High-level plotting commands
    • The plot() function
    • Displaying multivariate data
    • Display graphics
    • Arguments to high-level plotting functions
  • Low-level plotting commands
    • Mathematical annotation
    • Hershey vector fonts
  • Interacting with graphics
  • Using graphics parameters
    • Permanent changes: The par() function
    • Temporary changes: Arguments to graphics functions
  • Graphics parameters list
    • Graphical elements
    • Axes and tick marks
    • Figure margins
    • Multiple figure environment
  • Device drivers
    • PostScript diagrams for typeset documents
    • Multiple graphics devices
  • Dynamic graphics


  • Standard packages
  • Contributed packages and CRAN
  • Namespaces

Guaranteed to run even with a single delegate!
Public Classroom Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
From $7730
Private Classroom Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
Private Remote Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet
From $5030
Request quote

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Remote
1 $7730 $5030
2 $4490 $3065
3 $3410 $2410
4 $2870 $2083
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories

Course Discounts

Course Venue Course Date Course Price [Remote / Classroom]
Corporate Governance AB, Calgary - Sun Life Fri, Nov 4 2016, 9:30 am $1822 / $3922

Upcoming Courses

VenueCourse DateCourse Price [Remote / Classroom]
NL, St. John's WestMon, Nov 14 2016, 9:30 am$5030 / $8780
BC, Victoria - The AtriumMon, Nov 14 2016, 9:30 am$5030 / $8330
BC, Burnaby Mon, Nov 14 2016, 9:30 am$5030 / $7880
ON, Markham - Trillium Executive CentreTue, Nov 15 2016, 9:30 am$5030 / $7730
SK, SaskatoonWed, Nov 16 2016, 9:30 am$5030 / $8780

Some of our clients