Course Information

Overview

Learn how to program by diving into the R language, and then use your newfound skills to solve practical data science problems. With this course you will learn how to load data, assemble and disassemble data objects, navigate R s environment system, write your own functions, and use all of R s programming tools.

Prerequisites

Previous experience of a programming language or attendance of our R Programming for the Beginner is required for this course.

Outline

  • The R User Interface
  • Objects
  • Functions
  • Sample with Replacement
  • Writing Your Own Functions
  • The Function Constructor
  • Arguments
  • Scripts
  • Packages
  • install.packages
  • library
  • Getting Help with Help Pages
  • Parts of a Help Page
  • Getting More Help
  • Doubles
  • Integers
  • Characters
  • Logicals
  • Complex and Raw
  • Names
  • Dim
  • Matrices
  • Arrays
  • Class
  • Dates and Times
  • Factors
  • Coercion
  • Lists
  • Data Frames
  • Loading Data
  • Saving Data
  • Selecting Values
  • Positive Integers
  • Negative Integers
  • Zero
  • Blank Spaces
  • Logical Values
  • Names
  • Dollar Signs and Double Brackets
  • Changing Values in Place
  • Logical Subsetting
  • Logical Tests
  • Boolean Operators
  • Missing Information
  • na.rm
  • is.na
  • Environments
  • Working with Environments
  • The Active Environment
  • Scoping Rules
  • Assignment
  • Evaluation
  • Closures
  • Sequential Steps
  • Parallel Cases
  • if Statements
  • else Statements
  • Lookup Tables
  • Code Comments
  • The S3 System
  • Attributes
  • Generic Functions
  • Methods
  • Method Dispatch
  • Classes
  • S3 and Debugging
  • S4 and R5
  • Expected Values
  • expand.grid
  • for Loops
  • while Loops
  • repeat Loops
  • Vectorized Code
  • How to Write Vectorized Code
  • How to Write Fast for Loops in R
  • Vectorized Code in Practice
  • Loops Versus Vectorized Code
Dates and Prices

There are currently no public dates for this course. This course can be run as a private course either at one of our training centers or at your offices. To get pricing for this use our quote wizard to generate a customised quote or call us on 0118 324 3000 to discuss your requirements.

image
3 Days

Testimonials

  • Noel was an excellent tutor. He did check all of the group was able to keep up and if there were any problems or questions of the attendants, he was always willing to help.

    Marianne Seager-Wincanton
  • This was a really good training, nicely paced, very useful and well presented. Thank you, Stuart!

    Joris Latinne-Oracle