Assignment operators

You can assign values or functions to R objects using <- operator.

x <- 3     # assign 3 to 'x'
x
## [1] 3