- R can be used as a calculator to perform basic math operations like addition, subtraction, multiplication, division, exponents, logarithms, and trigonometric functions. It handles complex numbers and vectors.
- Matrices can be created using cbind() and rbind() functions. Elements are extracted using row and column indices. Common operations include addition, subtraction, scalar and element-wise multiplication on matrices.
- Eigenvalues and eigenvectors of a matrix can be computed using the eigen() function. The uniroot() function finds the root of a univariate function by calling a user-defined function.