Working With Control Structures

Learn to use control structures in your R programs.


  • Learn to write if-else statements.
  • Learn to use for-loops.
  • Learn to make use of nested control structures.

Mission Outline

1. Introduction to Control Structures
2. Importing the Data
3. Selection: Writing Conditional Statements
4. Repetition: Writing For-Loops
5. Looping Over Rows of a Data Frame
6. Nested Control Structures
7. Storing For-Loop Output in Objects
8. More Than Two Cases
9. More Than Two Cases: Writing a For-Loop
10. Next Steps
11. Takeaways

Course Info:

Intermediate R Programming


The average completion time for this course is 10-hours.

This course is free. This course includes 4 missions and 1 guided project. This course is the 2nd course in the Data Analyst in R path.


Take a Look Inside

Share On Facebook
Share On Twitter
Share On Linkedin
Share On Reddit