Snehal Prabhu H1

Snehal
1/29/2022

Demo File

Lets perform basic arithmetic in R

Addition

Add elements with ‘+’.

4+4
[1] 8
## comment
8+3
[1] 11

Subtraction

Subtract elements with ‘-’.

4-4
[1] 0
8-3
[1] 5

Multiplication

Multiply elements with ’*’.

4*4
[1] 16
8*3
[1] 24

Conclusion

Operations are simple and convenient.