May 2022
Beginner to intermediate
656 pages
18h 50m
English
Many of the functions described in this book operate on matrices. The manipulation of matrices is built deeply into the R language. Table D.1 describes operators and functions that are particularly important for solving linear algebra problems. In the table, A and B are matrices, x and b are vectors, and k is a scalar.
Table D.1 Functions and operators for matrix algebra
|
Operator or function |
Description |
|---|---|
|
|
Element-wise addition, subtraction, multiplication, division, and exponentiation, respectively |
|
|
Matrix multiplication |
|
|
Outer product: |
|
|
Combines matrices or vectors horizontally. Returns a matrix. |
|
|
Cholesky factorization of |
Read now
Unlock full access