View source: R/row_operations.R
row_swap | R Documentation |
Swap two rows
row_swap(A, row1, row2)
A |
The matrix of which to swap rows |
row1 |
The first row to swap |
row2 |
The second row to swap |
The matrix A of which to swap rows
A <- diag(3) row_swap(A, 2, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.