randomize_matrix | R Documentation |
Randomize a matrix bu shuffling all rows and columns.
randomize_matrix(m)
m |
A matrix. |
A randomized version of the input matrix.
m <- matrix(c(1,2,3,4), nrow=2) randomize_matrix(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.