MISSION 338

Working With Control Structures

Learn to use control structures in your R programs.

Objectives

  • 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

intermediate-r-programming

Course Info:

Intermediate R Programming

Intermediate

The median completion time for this course is 6.4 hours.

This course is free. This course includes five missions. This course is the second course in the Data Analyst in R path.

START LEARNING FREE

Take a Look Inside