
Paths
Programming R for Data Analysts
The R language is widely used among statisticians and data miners for developing statistical software and data analysis.
What You Will Learn
- You will learn analytical skills with one of the most widely used languages in data
Pre-requisites
- Fundamentals of computer programming
- Fundamentals of creating variables
Beginner
Learn the structure of an R solution, and the core of the R programming language.
Building Your First R Analytics Solution
2h 6m
Description
You’ve been given the task of building your next analytics report in R. Your colleague has even shared some R code they think will help. But where do you start? You’re not even sure what to do with the .R file they shared. In this course, Building Your First R Analytics Solution, you’ll see the entire workflow that data professionals use to produce their R analytics solutions. First, you’ll start right at the beginning — setting up your own computer to run R code. Next, you’ll learn how to run, read, and write R code in RStudio. Finally, you'll discover how to organize your work with RStudio projects and how to communicate your work with R Markdown. By the end of the course, you’ll have not only produced a shareable report with R Markdown, you’ll have built your project so that anyone else can recreate the report too. You’ll be using the same tools and workflows as R professionals, and along the way, you’ll start building habits that ensure your analysis is organized, documented, and reproducible.
Table of contents
- Course Overview
- Setting up Your Computer to Use R
- Working with R Code in RStudio
- Organizing Your Work with RStudio Projects
- Communicating and Documenting Your Analysis with R Markdown
Programming with R
2h 2m
Description
At the core of data analysis is a thorough knowledge of R programming. In this course, Programming with R, you will learn how to manipulate different objects.
First, you will learn the basic syntax.
Next, you will explore data types and data structures available in R.
Finally, you will discover how to write your own functions by implementing control flow statements.
When you are finished with this course, you will have a foundational knowledge of R programming that will help you as you move forward to data science.
Table of contents
- Course Overview
- Getting Started with R
- Exploring Vectors and Factors
- Using Matrices, Arrays, and Lists
- Working with Data Frames
- Managing Control Statements
- Building Your First Function
Intermediate
Debug your R programs, and customize their running environment.
Creating and Debugging R Programs
2h 1m
Description
Every good developer knows that being able to troubleshoot their code effectively is crucial to being productive. In this course, Creating and Debugging R Programs, you'll gain an understanding of how independently running scripts works within the R platform and how to quickly debug them in the case the need arises. First, you’ll explore the various data types that R provides and learn how to leverage them when processing data. Once you have those understood, you’ll learn how variables are leveraged within functions and how they’re encapsulated within a function’s environment. Finally, you'll discover how to write a non-interactive R script and schedule it to run on multiple platforms. When you’re finished with this course, you’ll have the skills and knowledge to successfully write and run your own independent scripts and troubleshoot running them in a production environment.
Table of contents
- Course Overview
- Understanding the R Platform
- Data Types
- Processing Data with R
- Outputting Data with R
- Debugging R Interactively
- R Environments
- Running R Non-interactively
- Debugging R Non-interactively
- Troubleshooting and Avoiding Common Debugging Issues
Customizing R Environments
26m
Description
Understanding the differences in data analysis tools can be confusing. In this course, Customizing R Environments, you will gain the ability to understand the R framework, learn how to customize an environment, and finally discover the best data tool to suit your goals. First, you will learn how to use a function to identify environments. Next, you will discover how library packages are accessible to R. Finally, you will explore a powerful package within R. When you are finished with this course, you will have the skills and knowledge to see how R is different from other data analysis tools.
Table of contents
- Course Overview
- Presenting Environments and Binding Values in R
- Identifying Types of Environments in R
- Listing Environments and Presenting Libraries from a CRAN in R
Advanced
Build tables and capture reusable logic with R functions.
Building Tables with R
32m
Description
Quickly understanding variables in a dataset can be time-consuming. In this course, Building Tables in R, you’ll learn to develop tables, proportions, and marginal frequencies in R. First, you’ll explore the table function with two- and three-way tables. Next, you’ll discover proportions for these tables. Finally, you’ll learn how to build a marginal frequency table. When you’re finished with this course, you’ll have the skills and knowledge of developing tables for data in R needed to understand customer data and prepare for advanced analysis.
Table of contents
- Course Overview
- Creating a Two-way and a Three-way Frequency Table in R
- Creating Proportions for a Table in R
- Developing Marginal Frequency Table in R
Applying Functions in R
1h 11m
Description
The functional approach to programming is something that makes R unique and powerful. In this course, Applying Functions in R, you will learn foundational knowledge of functional programming in R. First, you will understand how the apply functions work. Next, you will discover why the functional approach is far superior to for loops in R. Finally, you will explore a multitude of functions that apply in different use cases. When you are finished with this course, you will have the skills and knowledge of using the apply family of functions needed to write clear and concise code without a for loop.
Table of contents
- Course Overview
- Understanding Functional Programming and Apply
- Adding Anonymous Functions to Apply
- Using Common Apply Functions
- Using and Understanding Which Function to Use