sweep_arithmetic | R Documentation |
Binary operators, add/subtract/multiply/divide a vector to a matrix row by row. i.e. each row of the matrix is added/subtracted/etc by the same vector
x %_+_% y
x %_-_% y
x %_*_% y
x %_/_% y
x |
matrix or vector |
y |
matrix or vector (one of x and y needs to be a vector of length equal to the number of columns of the other) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.