A single loop is not enough. A collection of hello world control structures
As the post on “hello world” functions has been quite appreciated by the R community, here follows the second round of functions for wannabe R programmer. # If else statement: # See the code syntax below for if else statement x=10 if(x__1){ print(“x is greater than 1”) }else{ print(“x is ...
![](https://i1.wp.com/r-posts.com/wp-content/uploads/2017/12/images.png?resize=306%2C165)