layout | element | title | language |
---|---|---|---|
page |
lesson |
Making Choices |
R |
1. Watch the Introduction to Conditional Statements in R video:
<iframe title="Introduction to Conditional Statements in R video" width="560" height="315" src="https://www.youtube.com/embed/muEku7Svqvo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>2. Do the [Choice Operators]({{ site.baseurl }}/exercises/Making-choices-choice-operators-R) exercise.
3. Watch the Introduction To if
Statements In R video:
4. Do Task 1 in [Basic If Statements]({{ site.baseurl }}/exercises/Making-choices-basic-if-statements-R).
5. Watch the Introduction To else if
And else
Statements In R video:
6. Do Tasks 2-3 in [Basic If Statements]({{ site.baseurl }}/exercises/Making-choices-basic-if-statements-R).
7. Watch the Using if/else if/else Statements Inside of Functions in R video:
<iframe title="Using if/else if/else Statements Inside of Functions in R video" width="560" height="315" src="https://www.youtube.com/embed/C3tcEuc_46Y" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>8. Do Task 4 in [Basic If Statements]({{ site.baseurl }}/exercises/Making-choices-basic-if-statements-R).
9. Do [Size Estimates By Name]({{ site.baseurl }}/exercises/Making-choices-basic-if-statements-R).
10. (Optional) Watch the Introduction To Nested if
Statements in R video:
11. (Optional) Do the optional exercises in the [Making Choices Assignment]({{ site.baseurl }}/assignments/R-conditionals/)