Conditions (if / else)
Making decisions with if-else if-else; conditions in parentheses, blocks in curly braces.
Simple enough for a 5-year-old to understand
decision with if
age <- 20if (age >= 18) { cat("Adult\n", sep="")} else { cat("Child\n", sep="")}