Using R Programming Structures: Leveraging R with Control Flow & Looping
R Programming 4.0+
| Intermediate
- 10 Videos | 1h 12m 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 courseuse if statements to execute a set of operations only if a condition is satisfiedmake use of the ifelse() function and the switch statement to execute conditional operationsrecall how for loops can be used to iterate over a vector of valuesiterate over recursive lists and two-dimensional matrices using for loops
-
implement if statements and nested for loops within outer for loopsuse while loops to perform an operation while a condition is trueuse repeat loops to repeat an operation until a break statement is reacheduse the sapply(), vapply(), and tapply() functions to apply functions to elements in vectorssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 35sUP NEXT
-
2.Conditional Branching with If Statements in R10m 29s
-
3.Using ifelse() and the Switch Statement in R11m 48s
-
4.Iterating over Data with For Loops in R8m 33s
-
5.Iterating over R Lists and Matrices with For Loops6m 59s
-
6.Using Nested For Loops in R7m 38s
-
7.Using While Loops in R7m 53s
-
8.Using Repeat Loops in R4m 37s
-
9.Performing Advanced Looping in R10m 15s
-
10.Course Summary1m 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.