matrixop | R Documentation |
If replacing specific cell values use mset_values
.
If you want to change a sub-matrix of the whole matrix then use mset_matrix
.
mset_values(matrix, i, j, replacement) mset_matrix(matrix, i, j, replacement)
matrix |
A matrix. |
i, j |
The index of the rows and columns respectively. |
replacement |
The values to set the |
mset_values
: Set the values of particular cells
mset_matrix
: Set the values of a submatrix
Other Matrix manipulators:
mset_names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.