R can perform the usual mathematical operations, below are the functions:
Arithmetic
Trigonometry
Linear Algebra
Reference:
Arithmetic
+
- addition-
- subtraction*
- multiplication/
- division
Trigonometry
sin
- sinecos
- cosinetan
- tangentasin
- sine inverseacos
- cosine inverseatan
- tangent inverse
Linear Algebra
+
- element-wise addition-
- element-wise subtraction*
- element-wise multiplication/
- element-wise division%*%
- matrix multiplicationt
- transposeeigen
- eigenvalues and eigenvectorssolve
- inverse of matrixginv
- generalized inverse, requires MASS packagerbind
- combines vectors of observations horizontally into matrix classcbind
- combines vectors of observations vertically into matrix class
Reference:
- Kabacoff, R. I. Matrix Algebra. Quick-R. Retrieved April 20, 2013.
- Trigonometric Functions. R Documentation. R.2.15.1
Comments
Post a Comment