View source: R/permute_matrix.R
permute_matrix | R Documentation |
This is a quick permutation of the matrix.
permute_matrix(m)
m |
A square matrix. |
A permutation (of both rows and columns) of the matrix
m <- matrix(1:16,nrow=4)
m
permute_matrix(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.