Lets perform basic arithmetic in R
Add elements with ‘+’.
4+4
[1] 8
## comment
8+3
[1] 11
Subtract elements with ‘-’.
4-4
[1] 0
8-3
[1] 5
Multiply elements with ’*’.
4*4
[1] 16
8*3
[1] 24
Operations are simple and convenient.