# Using R Programming Structures: Leveraging R with Control Flow & Looping

R Programming 4.0+    |    Intermediate
• 10 Videos | 1h 16m 28s
• Includes Assessment
Becoming adept at using R will form a valuable part of your statistical data analysis programming language toolkit. Achieving this involves learning how to utilize the functional programming structures of R. This course shows how to use conditional constructs, statements, looping, and functions effectively in R. You'll practice using if, else, and the ifelse functions and the switch construct. You'll work with for and while loops. Recognize the next and break statements in R. And examine the repeat loop, which does not have a condition at all and must be used with a break statement. You'll then move on to advanced looping using the vapply(), lapply(), and sapply() functions in R. By the end of this course, you'll be able to use f R for control flow and looping.

## WHAT YOU WILL LEARN

• discover the key concepts covered in this course
use if statements to execute a set of operations only if a condition is satisfied
make use of the ifelse() function and the switch statement to execute conditional operations
recall how for loops can be used to iterate over a vector of values
iterate over recursive lists and two-dimensional matrices using for loops
• implement if statements and nested for loops within outer for loops
use while loops to perform an operation while a condition is true
use repeat loops to repeat an operation until a break statement is reached
use the sapply(), vapply(), and tapply() functions to apply functions to elements in vectors
summarize the key concepts covered in this course

## IN THIS COURSE

• 1.
Course Overview
• 2.
Conditional Branching with If Statements in R
• 3.
Using ifelse() and the Switch Statement in R
• 4.
Iterating over Data with For Loops in R
• 5.
Iterating over R Lists and Matrices with For Loops
• 6.
Using Nested For Loops in R
• 7.
Using While Loops in R
• 8.
Using Repeat Loops in R
• 9.