4 Arithmetic Operations
+, -, *, /, ^ work in the same way as a calculator, e.g., exponentiate:

It also works with modulo: quotient – %/%, remainder – %%:

R uses functions to perform operations. To run a function called funcname, we type funcname(input1, input2), where the inputs (or arguments) input1 and input2 tell R how to run the function. A function can have any number of inputs. Maths functions such as Square root sqrt(), Logrithm log(), Exponentiation exp(), Absolute value abs() are built-in functions.
