if Statement in R: if-else, the if-else-if Conditional Statement
In R Language, the if statement(s) is a conditional control used for making a decision. The if statement in R is used to run the block of statements when a certain condition is met. Therefore, if statements are also called …