An operator is a symbol that tells the compiler to perform specific Arithmetical or logical manipulations. R language is rich in built-in operators and provides following types of operators.
R’s binary and logical operators will look very familiar to programmers. Note that binary operators work on vectors and matrices as well as scalars.
1.Arithmetic Operators:
2. Logical Operators :
Practicing exercises on all these Operations are already posted in my previous Posts.
Please refer the below links :