perm_matVec | R Documentation |
Permute rows and columns of a vectorized matrix
perm_matVec(vec, n, rand)
vec |
a vumeric matrix |
n |
number of columns of the original matrix |
rand |
a numeric vector of randomized column and rows indeces |
It's the equivalent of R m[rand, rand] function. Columns and rows indexatons are in R format.
A vector
Sebastian Sosa.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.