In this video, you will learn how to create more complex conditionals in R with the help of else and else-if statements. Moreover, you will see how R code is mapped to control flow charts that help us understand in depth how the code is executed.
...
https://www.youtube.com/watch?v=oDRdZwrRMog