Learn R: For SAS Programmers

Standard Course
£800 +VAT
per delegate
Course duration: 2 days

Who is it for?

This course is for SAS programmers who wish to leverage their knowledge of SAS to fast track their learning of the R programming language.

Prerequisites

To get the most from this course, attendees should be comfortable programming in SAS using DATA Steps and Proc Steps. Some knowledge of the SAS Macro language is also useful but not required.

What you will learn

  • Introduction to the programming environment (RStudio)
  • Packages
  • Important concepts in R (data frames, vectors etc)
  • SAS Data Set vs R Data Frame
  • Common coding tasks in SAS and what we will cover during the course
  • Reading your R log
  • Using R Documentation

  • Reading data in R – csv, database etc
  • Where are my libraries?

  • Replacing a data step with R code
    • Drop, Keep, Filter, Rename equivalents in R
  • Creating new columns
  • R data frame conditional processing
  • Functions

  • Sorting Data Frames
  • Joining / Merging Data Frames

  • Replacing:
    • Proc Print
    • Proc Contents
    • Proc Means
    • Proc Freq
  • Grouped Data Analysis

  • How are Dates handled in R?
  • Creating Date columns
  • Calculations with dates

  • Output data from R:
    • Write data to csv
    • Save data to RData and RDS data frames
  • ODS replacements
  • Visit possible output destinations (pdf, excel, word) and possible packages needed

Learn R: For SAS Programmers

Our courses are live instructor-led and delivered virtually or at your office.

Back to Training

Talk to us about how we can help