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

R Programming 4.0+    |    Intermediate
  • 10 Videos | 1h 16m 28s
  • Includes Assessment
  • Earns a Badge
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

  • Playable
    1. 
    Course Overview
    2m 35s
    UP NEXT
  • Playable
    2. 
    Conditional Branching with If Statements in R
    10m 29s
  • Locked
    3. 
    Using ifelse() and the Switch Statement in R
    11m 48s
  • Locked
    4. 
    Iterating over Data with For Loops in R
    8m 33s
  • Locked
    5. 
    Iterating over R Lists and Matrices with For Loops
    6m 59s
  • Locked
    6. 
    Using Nested For Loops in R
    7m 38s
  • Locked
    7. 
    Using While Loops in R
    7m 53s
  • Locked
    8. 
    Using Repeat Loops in R
    4m 37s
  • Locked
    9. 
    Performing Advanced Looping in R
    10m 15s
  • Locked
    10. 
    Course Summary
    1m 43s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.