Assignment Operators in R
Two important assignment operators in R are <- and = . Lets look at some examples. This first example assignes 3 to variable x. Notice that a space before and after the assignment operator makes the code more readable. > x <- 3 > x [1] 3 > It is also possible to chain assignments … Read more