shuffle.locations | R Documentation |
Returns the given matrix with rows and columns permuted in the same order.
shuffle.locations(m, perm = sample.int(dim(m)[1]))
m |
a matrix with an equal number of rows and columns |
perm |
vector of indices specifying the new order of rows/columns |
a matrix of the same size as m
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.