Skip to main content
HomeR

R For SAS Users

Learn how to translate your SAS knowledge into R and analyze data using this free and powerful software language.

Start Course for Free
4 hours15 videos56 exercises3,713 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

If you have experience with SAS and want to learn R, this is the course for you. R is FREE (cost) and OPEN (license) and is one of the fastest growing software languages for statistics and data science. This course is a gentle introduction to the R language with every chapter providing a detailed mapping of R functions to SAS procedures highlighting similarities and differences. You will orient yourself in the R environment and discover how to wrangle, visualize, and model data plus customize your output for final presentation. Throughout the course, you will follow a consistent workflow of data quality checking and cleaning, exploring relationships, modeling, and presenting results. You will leave this course with coded examples that provide a template to use immediately with a dataset of your own.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Getting Started with R

    Free

    This first chapter will get you oriented into the R programming environment. You'll learn how to get help, load a dataset, and increase functionality by adding packages. You'll begin working with the abalone dataset (through the dplyr package workflow) to get descriptive statistics and create helpful visualizations (using the ggplot2 package).

    Play Chapter Now
    Get help and load data in R
    50 xp
    Getting help
    50 xp
    Load dataset and get details
    100 xp
    Add functionality with packages
    100 xp
    Dataset contents and descriptive statistics
    50 xp
    Load external dataset
    100 xp
    Dataset contents
    100 xp
    Descriptive statistics
    100 xp
    Graphical visualizations
    50 xp
    Histograms
    100 xp
    Boxplots and violin plots
    100 xp
    Scatterplots
    100 xp
  2. 2

    Data Wrangling

    Now that you are oriented in the R environment, this chapter will advance your understanding of R's versatility working with data objects. You'll learn how to create and modify variables in the abalone data set. Using your ggplot2 visualization skills, you will discover the data errors in the abalone data and then create a final cleaned data set ready for analysis and modeling.

    Play Chapter Now
  3. 3

    Data Exploration

    Once your data set has been cleaned, the next step is exploration. In chapter 3 you will learn how to compute descriptive statistics, explore associations (e.g., correlations) among the variables, and perform bi-variate statistical tests (e.g., t-tests and chi-square tests). You will also create graphical visualizations which illustrate the bi-variate associations and group comparison tests.

    Play Chapter Now
  4. 4

    Models and Presentation

    In this final chapter, you will learn how to work with one of the most versatile data object types in R called a list. These skills will enable you to save and manipulate your output from descriptive statistics, associations, and group comparison computations. You will also learn how to perform ANOVA (analysis of variance) and linear regression in R. All your skills are put to use in the final exercises to create the best models for predicting abalone ages from their sex, size, and weight measurements.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Abalone

collaborators

Collaborator's avatar
Sara Billen
Collaborator's avatar
Richie Cotton
Melinda Higgins HeadshotMelinda Higgins

Research Professor, Senior Biostatistician

See More

What do other learners have to say?

FAQs

Join over 15 million learners and start R For SAS Users today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.