In this tutorial we’ll look at if..else in R conditional statements
We will start with introduction to conditional statements and then cover different versions of an if statement in R. The different versions are: the simple if statement, if-else statement, if else function and nested if-else statement. The concepts are similar to R programming.