#==================== # Example use of IF statement in R #==================== x=3 if (x<=2) { y=5 z=5 } else { y=6 z=6 } y z