# The <- saves the caculation as math
<- 10 + 2
math #print()
print(math)
[1] 12
In R, we save our data in what we call objects! Objects store information about different types of elements. If you know any other coding languages, they typically call these variables.
# The <- saves the caculation as math
<- 10 + 2
math #print()
print(math)
[1] 12
# The = saves the caculation as math
= 10 + 2
math # print() will print out what is saved in the object math
print(math)
[1] 12